function Uu(e,t){const r=Object.create(null),n=e.split(",");for(let i=0;i!!r[i.toLowerCase()]:i=>!!r[i]}function Lo(e){if(ve(e)){const t={};for(let r=0;r{if(r){const n=r.split(G5);n.length>1&&(t[n[0].trim()]=n[1].trim())}}),t}function zo(e){let t="";if(Xe(e))t=e;else if(ve(e))for(let r=0;r$o(r,t))}const gP=e=>Xe(e)?e:e==null?"":ve(e)||He(e)&&(e.toString===hp||!we(e.toString))?JSON.stringify(e,dp,2):String(e),dp=(e,t)=>t&&t.__v_isRef?dp(e,t.value):bi(t)?{[`Map(${t.size})`]:[...t.entries()].reduce((r,[n,i])=>(r[`${n} =>`]=i,r),{})}:Fo(t)?{[`Set(${t.size})`]:[...t.values()]}:He(t)&&!ve(t)&&!wa(t)?String(t):t,qe={},vi=[],er=()=>{},Z5=()=>!1,Q5=/^on[^a-z]/,ls=e=>Q5.test(e),ju=e=>e.startsWith("onUpdate:"),mt=Object.assign,qu=(e,t)=>{const r=e.indexOf(t);r>-1&&e.splice(r,1)},e3=Object.prototype.hasOwnProperty,Ie=(e,t)=>e3.call(e,t),ve=Array.isArray,bi=e=>Ji(e)==="[object Map]",Fo=e=>Ji(e)==="[object Set]",Nf=e=>Ji(e)==="[object Date]",t3=e=>Ji(e)==="[object RegExp]",we=e=>typeof e=="function",Xe=e=>typeof e=="string",$a=e=>typeof e=="symbol",He=e=>e!==null&&typeof e=="object",Gu=e=>He(e)&&we(e.then)&&we(e.catch),hp=Object.prototype.toString,Ji=e=>hp.call(e),r3=e=>Ji(e).slice(8,-1),wa=e=>Ji(e)==="[object Object]",Yu=e=>Xe(e)&&e!=="NaN"&&e[0]!=="-"&&""+parseInt(e,10)===e,Sa=Uu(",key,ref,ref_for,ref_key,onVnodeBeforeMount,onVnodeMounted,onVnodeBeforeUpdate,onVnodeUpdated,onVnodeBeforeUnmount,onVnodeUnmounted"),Ho=e=>{const t=Object.create(null);return r=>t[r]||(t[r]=e(r))},n3=/-(\w)/g,hr=Ho(e=>e.replace(n3,(t,r)=>r?r.toUpperCase():"")),i3=/\B([A-Z])/g,ei=Ho(e=>e.replace(i3,"-$1").toLowerCase()),Uo=Ho(e=>e.charAt(0).toUpperCase()+e.slice(1)),A0=Ho(e=>e?`on${Uo(e)}`:""),Fa=(e,t)=>!Object.is(e,t),_i=(e,t)=>{for(let r=0;r{Object.defineProperty(e,t,{configurable:!0,enumerable:!1,value:r})},so=e=>{const t=parseFloat(e);return isNaN(t)?e:t},pp=e=>{const t=Xe(e)?Number(e):NaN;return isNaN(t)?e:t};let Cf;const a3=()=>Cf||(Cf=typeof globalThis<"u"?globalThis:typeof self<"u"?self:typeof window<"u"?window:typeof global<"u"?global:{});let Xt;class s3{constructor(t=!1){this.detached=t,this._active=!0,this.effects=[],this.cleanups=[],this.parent=Xt,!t&&Xt&&(this.index=(Xt.scopes||(Xt.scopes=[])).push(this)-1)}get active(){return this._active}run(t){if(this._active){const r=Xt;try{return Xt=this,t()}finally{Xt=r}}}on(){Xt=this}off(){Xt=this.parent}stop(t){if(this._active){let r,n;for(r=0,n=this.effects.length;r{const t=new Set(e);return t.w=0,t.n=0,t},mp=e=>(e.w&vn)>0,gp=e=>(e.n&vn)>0,u3=({deps:e})=>{if(e.length)for(let t=0;t{const{deps:t}=e;if(t.length){let r=0;for(let n=0;n{(c==="length"||c>=l)&&o.push(u)})}else switch(r!==void 0&&o.push(s.get(r)),t){case"add":ve(e)?Yu(r)&&o.push(s.get("length")):(o.push(s.get(qn)),bi(e)&&o.push(s.get(Rl)));break;case"delete":ve(e)||(o.push(s.get(qn)),bi(e)&&o.push(s.get(Rl)));break;case"set":bi(e)&&o.push(s.get(qn));break}if(o.length===1)o[0]&&Ol(o[0]);else{const l=[];for(const u of o)u&&l.push(...u);Ol(Wu(l))}}function Ol(e,t){const r=ve(e)?e:[...e];for(const n of r)n.computed&&Df(n);for(const n of r)n.computed||Df(n)}function Df(e,t){(e!==Zt||e.allowRecurse)&&(e.scheduler?e.scheduler():e.run())}function f3(e,t){var r;return(r=oo.get(e))===null||r===void 0?void 0:r.get(t)}const d3=Uu("__proto__,__v_isRef,__isVue"),bp=new Set(Object.getOwnPropertyNames(Symbol).filter(e=>e!=="arguments"&&e!=="caller").map(e=>Symbol[e]).filter($a)),h3=Ku(),p3=Ku(!1,!0),m3=Ku(!0),Bf=g3();function g3(){const e={};return["includes","indexOf","lastIndexOf"].forEach(t=>{e[t]=function(...r){const n=De(this);for(let a=0,s=this.length;a{e[t]=function(...r){Zi();const n=De(this)[t].apply(this,r);return Qi(),n}}),e}function y3(e){const t=De(this);return Ct(t,"has",e),t.hasOwnProperty(e)}function Ku(e=!1,t=!1){return function(n,i,a){if(i==="__v_isReactive")return!e;if(i==="__v_isReadonly")return e;if(i==="__v_isShallow")return t;if(i==="__v_raw"&&a===(e?t?I3:xp:t?Ep:Sp).get(n))return n;const s=ve(n);if(!e){if(s&&Ie(Bf,i))return Reflect.get(Bf,i,a);if(i==="hasOwnProperty")return y3}const o=Reflect.get(n,i,a);return($a(i)?bp.has(i):d3(i))||(e||Ct(n,"get",i),t)?o:st(o)?s&&Yu(i)?o:o.value:He(o)?e?Tp(o):pr(o):o}}const v3=_p(),b3=_p(!0);function _p(e=!1){return function(r,n,i,a){let s=r[n];if(Vn(s)&&st(s)&&!st(i))return!1;if(!e&&(!lo(i)&&!Vn(i)&&(s=De(s),i=De(i)),!ve(r)&&st(s)&&!st(i)))return s.value=i,!0;const o=ve(r)&&Yu(n)?Number(n)e,jo=e=>Reflect.getPrototypeOf(e);function Ss(e,t,r=!1,n=!1){e=e.__v_raw;const i=De(e),a=De(t);r||(t!==a&&Ct(i,"get",t),Ct(i,"get",a));const{has:s}=jo(i),o=n?Xu:r?Qu:Ha;if(s.call(i,t))return o(e.get(t));if(s.call(i,a))return o(e.get(a));e!==i&&e.get(t)}function Es(e,t=!1){const r=this.__v_raw,n=De(r),i=De(e);return t||(e!==i&&Ct(n,"has",e),Ct(n,"has",i)),e===i?r.has(e):r.has(e)||r.has(i)}function xs(e,t=!1){return e=e.__v_raw,!t&&Ct(De(e),"iterate",qn),Reflect.get(e,"size",e)}function Pf(e){e=De(e);const t=De(this);return jo(t).has.call(t,e)||(t.add(e),Dr(t,"add",e,e)),this}function Lf(e,t){t=De(t);const r=De(this),{has:n,get:i}=jo(r);let a=n.call(r,e);a||(e=De(e),a=n.call(r,e));const s=i.call(r,e);return r.set(e,t),a?Fa(t,s)&&Dr(r,"set",e,t):Dr(r,"add",e,t),this}function zf(e){const t=De(this),{has:r,get:n}=jo(t);let i=r.call(t,e);i||(e=De(e),i=r.call(t,e)),n&&n.call(t,e);const a=t.delete(e);return i&&Dr(t,"delete",e,void 0),a}function $f(){const e=De(this),t=e.size!==0,r=e.clear();return t&&Dr(e,"clear",void 0,void 0),r}function Ts(e,t){return function(n,i){const a=this,s=a.__v_raw,o=De(s),l=t?Xu:e?Qu:Ha;return!e&&Ct(o,"iterate",qn),s.forEach((u,c)=>n.call(i,l(u),l(c),a))}}function ks(e,t,r){return function(...n){const i=this.__v_raw,a=De(i),s=bi(a),o=e==="entries"||e===Symbol.iterator&&s,l=e==="keys"&&s,u=i[e](...n),c=r?Xu:t?Qu:Ha;return!t&&Ct(a,"iterate",l?Rl:qn),{next(){const{value:d,done:p}=u.next();return p?{value:d,done:p}:{value:o?[c(d[0]),c(d[1])]:c(d),done:p}},[Symbol.iterator](){return this}}}}function Gr(e){return function(...t){return e==="delete"?!1:this}}function T3(){const e={get(a){return Ss(this,a)},get size(){return xs(this)},has:Es,add:Pf,set:Lf,delete:zf,clear:$f,forEach:Ts(!1,!1)},t={get(a){return Ss(this,a,!1,!0)},get size(){return xs(this)},has:Es,add:Pf,set:Lf,delete:zf,clear:$f,forEach:Ts(!1,!0)},r={get(a){return Ss(this,a,!0)},get size(){return xs(this,!0)},has(a){return Es.call(this,a,!0)},add:Gr("add"),set:Gr("set"),delete:Gr("delete"),clear:Gr("clear"),forEach:Ts(!0,!1)},n={get(a){return Ss(this,a,!0,!0)},get size(){return xs(this,!0)},has(a){return Es.call(this,a,!0)},add:Gr("add"),set:Gr("set"),delete:Gr("delete"),clear:Gr("clear"),forEach:Ts(!0,!0)};return["keys","values","entries",Symbol.iterator].forEach(a=>{e[a]=ks(a,!1,!1),r[a]=ks(a,!0,!1),t[a]=ks(a,!1,!0),n[a]=ks(a,!0,!0)}),[e,r,t,n]}const[k3,A3,R3,O3]=T3();function Ju(e,t){const r=t?e?O3:R3:e?A3:k3;return(n,i,a)=>i==="__v_isReactive"?!e:i==="__v_isReadonly"?e:i==="__v_raw"?n:Reflect.get(Ie(r,i)&&i in n?r:n,i,a)}const M3={get:Ju(!1,!1)},N3={get:Ju(!1,!0)},C3={get:Ju(!0,!1)},Sp=new WeakMap,Ep=new WeakMap,xp=new WeakMap,I3=new WeakMap;function D3(e){switch(e){case"Object":case"Array":return 1;case"Map":case"Set":case"WeakMap":case"WeakSet":return 2;default:return 0}}function B3(e){return e.__v_skip||!Object.isExtensible(e)?0:D3(r3(e))}function pr(e){return Vn(e)?e:Zu(e,!1,wp,M3,Sp)}function P3(e){return Zu(e,!1,x3,N3,Ep)}function Tp(e){return Zu(e,!0,E3,C3,xp)}function Zu(e,t,r,n,i){if(!He(e)||e.__v_raw&&!(t&&e.__v_isReactive))return e;const a=i.get(e);if(a)return a;const s=B3(e);if(s===0)return e;const o=new Proxy(e,s===2?n:r);return i.set(e,o),o}function wi(e){return Vn(e)?wi(e.__v_raw):!!(e&&e.__v_isReactive)}function Vn(e){return!!(e&&e.__v_isReadonly)}function lo(e){return!!(e&&e.__v_isShallow)}function kp(e){return wi(e)||Vn(e)}function De(e){const t=e&&e.__v_raw;return t?De(t):e}function Ap(e){return ao(e,"__v_skip",!0),e}const Ha=e=>He(e)?pr(e):e,Qu=e=>He(e)?Tp(e):e;function Rp(e){fn&&Zt&&(e=De(e),vp(e.dep||(e.dep=Wu())))}function Op(e,t){e=De(e);const r=e.dep;r&&Ol(r)}function st(e){return!!(e&&e.__v_isRef===!0)}function Si(e){return Mp(e,!1)}function Ml(e){return Mp(e,!0)}function Mp(e,t){return st(e)?e:new L3(e,t)}class L3{constructor(t,r){this.__v_isShallow=r,this.dep=void 0,this.__v_isRef=!0,this._rawValue=r?t:De(t),this._value=r?t:Ha(t)}get value(){return Rp(this),this._value}set value(t){const r=this.__v_isShallow||lo(t)||Vn(t);t=r?t:De(t),Fa(t,this._rawValue)&&(this._rawValue=t,this._value=r?t:Ha(t),Op(this))}}function dt(e){return st(e)?e.value:e}const z3={get:(e,t,r)=>dt(Reflect.get(e,t,r)),set:(e,t,r,n)=>{const i=e[t];return st(i)&&!st(r)?(i.value=r,!0):Reflect.set(e,t,r,n)}};function Np(e){return wi(e)?e:new Proxy(e,z3)}class $3{constructor(t,r,n){this._object=t,this._key=r,this._defaultValue=n,this.__v_isRef=!0}get value(){const t=this._object[this._key];return t===void 0?this._defaultValue:t}set value(t){this._object[this._key]=t}get dep(){return f3(De(this._object),this._key)}}function Cp(e,t,r){const n=e[t];return st(n)?n:new $3(e,t,r)}var Ip;class F3{constructor(t,r,n,i){this._setter=r,this.dep=void 0,this.__v_isRef=!0,this[Ip]=!1,this._dirty=!0,this.effect=new Vu(t,()=>{this._dirty||(this._dirty=!0,Op(this))}),this.effect.computed=this,this.effect.active=this._cacheable=!i,this.__v_isReadonly=n}get value(){const t=De(this);return Rp(t),(t._dirty||!t._cacheable)&&(t._dirty=!1,t._value=t.effect.run()),t._value}set value(t){this._setter(t)}}Ip="__v_isReadonly";function H3(e,t,r=!1){let n,i;const a=we(e);return a?(n=e,i=er):(n=e.get,i=e.set),new F3(n,i,a||!i,r)}function dn(e,t,r,n){let i;try{i=n?e(...n):e()}catch(a){ea(a,t,r)}return i}function Yt(e,t,r,n){if(we(e)){const a=dn(e,t,r,n);return a&&Gu(a)&&a.catch(s=>{ea(s,t,r)}),a}const i=[];for(let a=0;a>>1;ja(vt[n])fr&&vt.splice(t,1)}function Pp(e){ve(e)?Ei.push(...e):(!xr||!xr.includes(e,e.allowRecurse?Ln+1:Ln))&&Ei.push(e),Bp()}function Ff(e,t=Ua?fr+1:0){for(;tja(r)-ja(n)),Ln=0;Lne.id==null?1/0:e.id,G3=(e,t)=>{const r=ja(e)-ja(t);if(r===0){if(e.pre&&!t.pre)return-1;if(t.pre&&!e.pre)return 1}return r};function Lp(e){Nl=!1,Ua=!0,vt.sort(G3);const t=er;try{for(fr=0;frXe(g)?g.trim():g)),d&&(i=r.map(so))}let o,l=n[o=A0(t)]||n[o=A0(hr(t))];!l&&a&&(l=n[o=A0(ei(t))]),l&&Yt(l,e,6,i);const u=n[o+"Once"];if(u){if(!e.emitted)e.emitted={};else if(e.emitted[o])return;e.emitted[o]=!0,Yt(u,e,6,i)}}function zp(e,t,r=!1){const n=t.emitsCache,i=n.get(e);if(i!==void 0)return i;const a=e.emits;let s={},o=!1;if(!we(e)){const l=u=>{const c=zp(u,t,!0);c&&(o=!0,mt(s,c))};!r&&t.mixins.length&&t.mixins.forEach(l),e.extends&&l(e.extends),e.mixins&&e.mixins.forEach(l)}return!a&&!o?(He(e)&&n.set(e,null),null):(ve(a)?a.forEach(l=>s[l]=null):mt(s,a),He(e)&&n.set(e,s),s)}function Go(e,t){return!e||!ls(t)?!1:(t=t.slice(2).replace(/Once$/,""),Ie(e,t[0].toLowerCase()+t.slice(1))||Ie(e,ei(t))||Ie(e,t))}let pt=null,Yo=null;function co(e){const t=pt;return pt=e,Yo=e&&e.type.__scopeId||null,t}function yP(e){Yo=e}function vP(){Yo=null}function tc(e,t=pt,r){if(!t||e._n)return e;const n=(...i)=>{n._d&&Jf(-1);const a=co(t);let s;try{s=e(...i)}finally{co(a),n._d&&Jf(1)}return s};return n._n=!0,n._c=!0,n._d=!0,n}function R0(e){const{type:t,vnode:r,proxy:n,withProxy:i,props:a,propsOptions:[s],slots:o,attrs:l,emit:u,render:c,renderCache:d,data:p,setupState:g,ctx:v,inheritAttrs:E}=e;let R,_;const b=co(e);try{if(r.shapeFlag&4){const O=i||n;R=Ht(c.call(O,O,d,a,g,p,v)),_=l}else{const O=t;R=Ht(O.length>1?O(a,{attrs:l,slots:o,emit:u}):O(a,null)),_=t.props?l:V3(l)}}catch(O){Ta.length=0,ea(O,e,1),R=Ye(kt)}let T=R;if(_&&E!==!1){const O=Object.keys(_),{shapeFlag:N}=T;O.length&&N&7&&(s&&O.some(ju)&&(_=K3(_,s)),T=Br(T,_))}return r.dirs&&(T=Br(T),T.dirs=T.dirs?T.dirs.concat(r.dirs):r.dirs),r.transition&&(T.transition=r.transition),R=T,co(b),R}function W3(e){let t;for(let r=0;r{let t;for(const r in e)(r==="class"||r==="style"||ls(r))&&((t||(t={}))[r]=e[r]);return t},K3=(e,t)=>{const r={};for(const n in e)(!ju(n)||!(n.slice(9)in t))&&(r[n]=e[n]);return r};function X3(e,t,r){const{props:n,children:i,component:a}=e,{props:s,children:o,patchFlag:l}=t,u=a.emitsOptions;if(t.dirs||t.transition)return!0;if(r&&l>=0){if(l&1024)return!0;if(l&16)return n?Hf(n,s,u):!!s;if(l&8){const c=t.dynamicProps;for(let d=0;de.__isSuspense,J3={name:"Suspense",__isSuspense:!0,process(e,t,r,n,i,a,s,o,l,u){e==null?Z3(t,r,n,i,a,s,o,l,u):Q3(e,t,r,n,i,s,o,l,u)},hydrate:e6,create:nc,normalize:t6},Fp=J3;function qa(e,t){const r=e.props&&e.props[t];we(r)&&r()}function Z3(e,t,r,n,i,a,s,o,l){const{p:u,o:{createElement:c}}=l,d=c("div"),p=e.suspense=nc(e,i,n,t,d,r,a,s,o,l);u(null,p.pendingBranch=e.ssContent,d,null,n,p,a,s),p.deps>0?(qa(e,"onPending"),qa(e,"onFallback"),u(null,e.ssFallback,t,r,n,null,a,s),xi(p,e.ssFallback)):p.resolve()}function Q3(e,t,r,n,i,a,s,o,{p:l,um:u,o:{createElement:c}}){const d=t.suspense=e.suspense;d.vnode=t,t.el=e.el;const p=t.ssContent,g=t.ssFallback,{activeBranch:v,pendingBranch:E,isInFallback:R,isHydrating:_}=d;if(E)d.pendingBranch=p,Qt(p,E)?(l(E,p,d.hiddenContainer,null,i,d,a,s,o),d.deps<=0?d.resolve():R&&(l(v,g,r,n,i,null,a,s,o),xi(d,g))):(d.pendingId++,_?(d.isHydrating=!1,d.activeBranch=E):u(E,i,d),d.deps=0,d.effects.length=0,d.hiddenContainer=c("div"),R?(l(null,p,d.hiddenContainer,null,i,d,a,s,o),d.deps<=0?d.resolve():(l(v,g,r,n,i,null,a,s,o),xi(d,g))):v&&Qt(p,v)?(l(v,p,r,n,i,d,a,s,o),d.resolve(!0)):(l(null,p,d.hiddenContainer,null,i,d,a,s,o),d.deps<=0&&d.resolve()));else if(v&&Qt(p,v))l(v,p,r,n,i,d,a,s,o),xi(d,p);else if(qa(t,"onPending"),d.pendingBranch=p,d.pendingId++,l(null,p,d.hiddenContainer,null,i,d,a,s,o),d.deps<=0)d.resolve();else{const{timeout:b,pendingId:T}=d;b>0?setTimeout(()=>{d.pendingId===T&&d.fallback(g)},b):b===0&&d.fallback(g)}}function nc(e,t,r,n,i,a,s,o,l,u,c=!1){const{p:d,m:p,um:g,n:v,o:{parentNode:E,remove:R}}=u,_=e.props?pp(e.props.timeout):void 0,b={vnode:e,parent:t,parentComponent:r,isSVG:s,container:n,hiddenContainer:i,anchor:a,deps:0,pendingId:0,timeout:typeof _=="number"?_:-1,activeBranch:null,pendingBranch:null,isInFallback:!0,isHydrating:c,isUnmounted:!1,effects:[],resolve(T=!1){const{vnode:O,activeBranch:N,pendingBranch:B,pendingId:F,effects:P,parentComponent:q,container:re}=b;if(b.isHydrating)b.isHydrating=!1;else if(!T){const oe=N&&B.transition&&B.transition.mode==="out-in";oe&&(N.transition.afterLeave=()=>{F===b.pendingId&&p(B,re,W,0)});let{anchor:W}=b;N&&(W=v(N),g(N,q,b,!0)),oe||p(B,re,W,0)}xi(b,B),b.pendingBranch=null,b.isInFallback=!1;let ie=b.parent,j=!1;for(;ie;){if(ie.pendingBranch){ie.effects.push(...P),j=!0;break}ie=ie.parent}j||Pp(P),b.effects=[],qa(O,"onResolve")},fallback(T){if(!b.pendingBranch)return;const{vnode:O,activeBranch:N,parentComponent:B,container:F,isSVG:P}=b;qa(O,"onFallback");const q=v(N),re=()=>{b.isInFallback&&(d(null,T,F,q,B,null,P,o,l),xi(b,T))},ie=T.transition&&T.transition.mode==="out-in";ie&&(N.transition.afterLeave=re),b.isInFallback=!0,g(N,B,null,!0),ie||re()},move(T,O,N){b.activeBranch&&p(b.activeBranch,T,O,N),b.container=T},next(){return b.activeBranch&&v(b.activeBranch)},registerDep(T,O){const N=!!b.pendingBranch;N&&b.deps++;const B=T.vnode.el;T.asyncDep.catch(F=>{ea(F,T,0)}).then(F=>{if(T.isUnmounted||b.isUnmounted||b.pendingId!==T.suspenseId)return;T.asyncResolved=!0;const{vnode:P}=T;Ll(T,F,!1),B&&(P.el=B);const q=!B&&T.subTree.el;O(T,P,E(B||T.subTree.el),B?null:v(T.subTree),b,s,l),q&&R(q),rc(T,P.el),N&&--b.deps===0&&b.resolve()})},unmount(T,O){b.isUnmounted=!0,b.activeBranch&&g(b.activeBranch,r,T,O),b.pendingBranch&&g(b.pendingBranch,r,T,O)}};return b}function e6(e,t,r,n,i,a,s,o,l){const u=t.suspense=nc(t,n,r,e.parentNode,document.createElement("div"),null,i,a,s,o,!0),c=l(e,u.pendingBranch=t.ssContent,r,u,a,s);return u.deps===0&&u.resolve(),c}function t6(e){const{shapeFlag:t,children:r}=e,n=t&32;e.ssContent=Uf(n?r.default:r),e.ssFallback=n?Uf(r.fallback):Ye(kt)}function Uf(e){let t;if(we(e)){const r=Pi&&e._c;r&&(e._d=!1,sn()),e=e(),r&&(e._d=!0,t=jt,cm())}return ve(e)&&(e=W3(e)),e=Ht(e),t&&!e.dynamicChildren&&(e.dynamicChildren=t.filter(r=>r!==e)),e}function Hp(e,t){t&&t.pendingBranch?ve(e)?t.effects.push(...e):t.effects.push(e):Pp(e)}function xi(e,t){e.activeBranch=t;const{vnode:r,parentComponent:n}=e,i=r.el=t.el;n&&n.subTree===r&&(n.vnode.el=i,rc(n,i))}function Ti(e,t){if(Qe){let r=Qe.provides;const n=Qe.parent&&Qe.parent.provides;n===r&&(r=Qe.provides=Object.create(n)),r[e]=t}}function Lt(e,t,r=!1){const n=Qe||pt;if(n){const i=n.parent==null?n.vnode.appContext&&n.vnode.appContext.provides:n.parent.provides;if(i&&e in i)return i[e];if(arguments.length>1)return r&&we(t)?t.call(n.proxy):t}}function r6(e,t){return ic(e,null,t)}const As={};function ki(e,t,r){return ic(e,t,r)}function ic(e,t,{immediate:r,deep:n,flush:i,onTrack:a,onTrigger:s}=qe){const o=l3()===(Qe==null?void 0:Qe.scope)?Qe:null;let l,u=!1,c=!1;if(st(e)?(l=()=>e.value,u=lo(e)):wi(e)?(l=()=>e,n=!0):ve(e)?(c=!0,u=e.some(T=>wi(T)||lo(T)),l=()=>e.map(T=>{if(st(T))return T.value;if(wi(T))return Hn(T);if(we(T))return dn(T,o,2)})):we(e)?t?l=()=>dn(e,o,2):l=()=>{if(!(o&&o.isUnmounted))return d&&d(),Yt(e,o,3,[p])}:l=er,t&&n){const T=l;l=()=>Hn(T())}let d,p=T=>{d=_.onStop=()=>{dn(T,o,4)}},g;if(zi)if(p=er,t?r&&Yt(t,o,3,[l(),c?[]:void 0,p]):l(),i==="sync"){const T=Y6();g=T.__watcherHandles||(T.__watcherHandles=[])}else return er;let v=c?new Array(e.length).fill(As):As;const E=()=>{if(_.active)if(t){const T=_.run();(n||u||(c?T.some((O,N)=>Fa(O,v[N])):Fa(T,v)))&&(d&&d(),Yt(t,o,3,[T,v===As?void 0:c&&v[0]===As?[]:v,p]),v=T)}else _.run()};E.allowRecurse=!!t;let R;i==="sync"?R=E:i==="post"?R=()=>ft(E,o&&o.suspense):(E.pre=!0,o&&(E.id=o.uid),R=()=>qo(E));const _=new Vu(l,R);t?r?E():v=_.run():i==="post"?ft(_.run.bind(_),o&&o.suspense):_.run();const b=()=>{_.stop(),o&&o.scope&&qu(o.scope.effects,_)};return g&&g.push(b),b}function n6(e,t,r){const n=this.proxy,i=Xe(e)?e.includes(".")?Up(n,e):()=>n[e]:e.bind(n,n);let a;we(t)?a=t:(a=t.handler,r=t);const s=Qe;bn(this);const o=ic(i,a.bind(n),r);return s?bn(s):hn(),o}function Up(e,t){const r=t.split(".");return()=>{let n=e;for(let i=0;i{Hn(r,t)});else if(wa(e))for(const r in e)Hn(e[r],t);return e}function i6(){const e={isMounted:!1,isLeaving:!1,isUnmounting:!1,leavingVNodes:new Map};return ac(()=>{e.isMounted=!0}),Vo(()=>{e.isUnmounting=!0}),e}const Ft=[Function,Array],a6={name:"BaseTransition",props:{mode:String,appear:Boolean,persisted:Boolean,onBeforeEnter:Ft,onEnter:Ft,onAfterEnter:Ft,onEnterCancelled:Ft,onBeforeLeave:Ft,onLeave:Ft,onAfterLeave:Ft,onLeaveCancelled:Ft,onBeforeAppear:Ft,onAppear:Ft,onAfterAppear:Ft,onAppearCancelled:Ft},setup(e,{slots:t}){const r=An(),n=i6();let i;return()=>{const a=t.default&&Gp(t.default(),!0);if(!a||!a.length)return;let s=a[0];if(a.length>1){for(const E of a)if(E.type!==kt){s=E;break}}const o=De(e),{mode:l}=o;if(n.isLeaving)return O0(s);const u=jf(s);if(!u)return O0(s);const c=Cl(u,o,n,r);fo(u,c);const d=r.subTree,p=d&&jf(d);let g=!1;const{getTransitionKey:v}=u.type;if(v){const E=v();i===void 0?i=E:E!==i&&(i=E,g=!0)}if(p&&p.type!==kt&&(!Qt(u,p)||g)){const E=Cl(p,o,n,r);if(fo(p,E),l==="out-in")return n.isLeaving=!0,E.afterLeave=()=>{n.isLeaving=!1,r.update.active!==!1&&r.update()},O0(s);l==="in-out"&&u.type!==kt&&(E.delayLeave=(R,_,b)=>{const T=qp(n,p);T[String(p.key)]=p,R._leaveCb=()=>{_(),R._leaveCb=void 0,delete c.delayedLeave},c.delayedLeave=b})}return s}}},jp=a6;function qp(e,t){const{leavingVNodes:r}=e;let n=r.get(t.type);return n||(n=Object.create(null),r.set(t.type,n)),n}function Cl(e,t,r,n){const{appear:i,mode:a,persisted:s=!1,onBeforeEnter:o,onEnter:l,onAfterEnter:u,onEnterCancelled:c,onBeforeLeave:d,onLeave:p,onAfterLeave:g,onLeaveCancelled:v,onBeforeAppear:E,onAppear:R,onAfterAppear:_,onAppearCancelled:b}=t,T=String(e.key),O=qp(r,e),N=(P,q)=>{P&&Yt(P,n,9,q)},B=(P,q)=>{const re=q[1];N(P,q),ve(P)?P.every(ie=>ie.length<=1)&&re():P.length<=1&&re()},F={mode:a,persisted:s,beforeEnter(P){let q=o;if(!r.isMounted)if(i)q=E||o;else return;P._leaveCb&&P._leaveCb(!0);const re=O[T];re&&Qt(e,re)&&re.el._leaveCb&&re.el._leaveCb(),N(q,[P])},enter(P){let q=l,re=u,ie=c;if(!r.isMounted)if(i)q=R||l,re=_||u,ie=b||c;else return;let j=!1;const oe=P._enterCb=W=>{j||(j=!0,W?N(ie,[P]):N(re,[P]),F.delayedLeave&&F.delayedLeave(),P._enterCb=void 0)};q?B(q,[P,oe]):oe()},leave(P,q){const re=String(e.key);if(P._enterCb&&P._enterCb(!0),r.isUnmounting)return q();N(d,[P]);let ie=!1;const j=P._leaveCb=oe=>{ie||(ie=!0,q(),oe?N(v,[P]):N(g,[P]),P._leaveCb=void 0,O[re]===e&&delete O[re])};O[re]=e,p?B(p,[P,j]):j()},clone(P){return Cl(P,t,r,n)}};return F}function O0(e){if(us(e))return e=Br(e),e.children=null,e}function jf(e){return us(e)?e.children?e.children[0]:void 0:e}function fo(e,t){e.shapeFlag&6&&e.component?fo(e.component.subTree,t):e.shapeFlag&128?(e.ssContent.transition=t.clone(e.ssContent),e.ssFallback.transition=t.clone(e.ssFallback)):e.transition=t}function Gp(e,t=!1,r){let n=[],i=0;for(let a=0;a1)for(let a=0;a!!e.type.__asyncLoader;function s6(e){we(e)&&(e={loader:e});const{loader:t,loadingComponent:r,errorComponent:n,delay:i=200,timeout:a,suspensible:s=!0,onError:o}=e;let l=null,u,c=0;const d=()=>(c++,l=null,p()),p=()=>{let g;return l||(g=l=t().catch(v=>{if(v=v instanceof Error?v:new Error(String(v)),o)return new Promise((E,R)=>{o(v,()=>E(d()),()=>R(v),c+1)});throw v}).then(v=>g!==l&&l?l:(v&&(v.__esModule||v[Symbol.toStringTag]==="Module")&&(v=v.default),u=v,v)))};return kn({name:"AsyncComponentWrapper",__asyncLoader:p,get __asyncResolved(){return u},setup(){const g=Qe;if(u)return()=>M0(u,g);const v=b=>{l=null,ea(b,g,13,!n)};if(s&&g.suspense||zi)return p().then(b=>()=>M0(b,g)).catch(b=>(v(b),()=>n?Ye(n,{error:b}):null));const E=Si(!1),R=Si(),_=Si(!!i);return i&&setTimeout(()=>{_.value=!1},i),a!=null&&setTimeout(()=>{if(!E.value&&!R.value){const b=new Error(`Async component timed out after ${a}ms.`);v(b),R.value=b}},a),p().then(()=>{E.value=!0,g.parent&&us(g.parent.vnode)&&qo(g.parent.update)}).catch(b=>{v(b),R.value=b}),()=>{if(E.value&&u)return M0(u,g);if(R.value&&n)return Ye(n,{error:R.value});if(r&&!_.value)return Ye(r)}}})}function M0(e,t){const{ref:r,props:n,children:i,ce:a}=t.vnode,s=Ye(e,n,i);return s.ref=r,s.ce=a,delete t.vnode.ce,s}const us=e=>e.type.__isKeepAlive,o6={name:"KeepAlive",__isKeepAlive:!0,props:{include:[String,RegExp,Array],exclude:[String,RegExp,Array],max:[String,Number]},setup(e,{slots:t}){const r=An(),n=r.ctx;if(!n.renderer)return()=>{const b=t.default&&t.default();return b&&b.length===1?b[0]:b};const i=new Map,a=new Set;let s=null;const o=r.suspense,{renderer:{p:l,m:u,um:c,o:{createElement:d}}}=n,p=d("div");n.activate=(b,T,O,N,B)=>{const F=b.component;u(b,T,O,0,o),l(F.vnode,b,T,O,F,o,N,b.slotScopeIds,B),ft(()=>{F.isDeactivated=!1,F.a&&_i(F.a);const P=b.props&&b.props.onVnodeMounted;P&&Mt(P,F.parent,b)},o)},n.deactivate=b=>{const T=b.component;u(b,p,null,1,o),ft(()=>{T.da&&_i(T.da);const O=b.props&&b.props.onVnodeUnmounted;O&&Mt(O,T.parent,b),T.isDeactivated=!0},o)};function g(b){N0(b),c(b,r,o,!0)}function v(b){i.forEach((T,O)=>{const N=zl(T.type);N&&(!b||!b(N))&&E(O)})}function E(b){const T=i.get(b);!s||!Qt(T,s)?g(T):s&&N0(s),i.delete(b),a.delete(b)}ki(()=>[e.include,e.exclude],([b,T])=>{b&&v(O=>va(b,O)),T&&v(O=>!va(T,O))},{flush:"post",deep:!0});let R=null;const _=()=>{R!=null&&i.set(R,C0(r.subTree))};return ac(_),Kp(_),Vo(()=>{i.forEach(b=>{const{subTree:T,suspense:O}=r,N=C0(T);if(b.type===N.type&&b.key===N.key){N0(N);const B=N.component.da;B&&ft(B,O);return}g(b)})}),()=>{if(R=null,!t.default)return null;const b=t.default(),T=b[0];if(b.length>1)return s=null,b;if(!Li(T)||!(T.shapeFlag&4)&&!(T.shapeFlag&128))return s=null,T;let O=C0(T);const N=O.type,B=zl(Gn(O)?O.type.__asyncResolved||{}:N),{include:F,exclude:P,max:q}=e;if(F&&(!B||!va(F,B))||P&&B&&va(P,B))return s=O,T;const re=O.key==null?N:O.key,ie=i.get(re);return O.el&&(O=Br(O),T.shapeFlag&128&&(T.ssContent=O)),R=re,ie?(O.el=ie.el,O.component=ie.component,O.transition&&fo(O,O.transition),O.shapeFlag|=512,a.delete(re),a.add(re)):(a.add(re),q&&a.size>parseInt(q,10)&&E(a.values().next().value)),O.shapeFlag|=256,s=O,$p(T.type)?T:O}}},l6=o6;function va(e,t){return ve(e)?e.some(r=>va(r,t)):Xe(e)?e.split(",").includes(t):t3(e)?e.test(t):!1}function Yp(e,t){Vp(e,"a",t)}function Wp(e,t){Vp(e,"da",t)}function Vp(e,t,r=Qe){const n=e.__wdc||(e.__wdc=()=>{let i=r;for(;i;){if(i.isDeactivated)return;i=i.parent}return e()});if(Wo(t,n,r),r){let i=r.parent;for(;i&&i.parent;)us(i.parent.vnode)&&u6(n,t,r,i),i=i.parent}}function u6(e,t,r,n){const i=Wo(t,e,n,!0);Xp(()=>{qu(n[t],i)},r)}function N0(e){e.shapeFlag&=-257,e.shapeFlag&=-513}function C0(e){return e.shapeFlag&128?e.ssContent:e}function Wo(e,t,r=Qe,n=!1){if(r){const i=r[e]||(r[e]=[]),a=t.__weh||(t.__weh=(...s)=>{if(r.isUnmounted)return;Zi(),bn(r);const o=Yt(t,r,e,s);return hn(),Qi(),o});return n?i.unshift(a):i.push(a),a}}const $r=e=>(t,r=Qe)=>(!zi||e==="sp")&&Wo(e,(...n)=>t(...n),r),c6=$r("bm"),ac=$r("m"),f6=$r("bu"),Kp=$r("u"),Vo=$r("bum"),Xp=$r("um"),d6=$r("sp"),h6=$r("rtg"),p6=$r("rtc");function Jp(e,t=Qe){Wo("ec",e,t)}function bP(e,t){const r=pt;if(r===null)return e;const n=Jo(r)||r.proxy,i=e.dirs||(e.dirs=[]);for(let a=0;at(s,o,void 0,a&&a[o]));else{const s=Object.keys(e);i=new Array(s.length);for(let o=0,l=s.length;oLi(t)?!(t.type===kt||t.type===Et&&!em(t.children)):!0)?e:null}const Il=e=>e?pm(e)?Jo(e)||e.proxy:Il(e.parent):null,Ea=mt(Object.create(null),{$:e=>e,$el:e=>e.vnode.el,$data:e=>e.data,$props:e=>e.props,$attrs:e=>e.attrs,$slots:e=>e.slots,$refs:e=>e.refs,$parent:e=>Il(e.parent),$root:e=>Il(e.root),$emit:e=>e.emit,$options:e=>oc(e),$forceUpdate:e=>e.f||(e.f=()=>qo(e.update)),$nextTick:e=>e.n||(e.n=mr.bind(e.proxy)),$watch:e=>n6.bind(e)}),I0=(e,t)=>e!==qe&&!e.__isScriptSetup&&Ie(e,t),m6={get({_:e},t){const{ctx:r,setupState:n,data:i,props:a,accessCache:s,type:o,appContext:l}=e;let u;if(t[0]!=="$"){const g=s[t];if(g!==void 0)switch(g){case 1:return n[t];case 2:return i[t];case 4:return r[t];case 3:return a[t]}else{if(I0(n,t))return s[t]=1,n[t];if(i!==qe&&Ie(i,t))return s[t]=2,i[t];if((u=e.propsOptions[0])&&Ie(u,t))return s[t]=3,a[t];if(r!==qe&&Ie(r,t))return s[t]=4,r[t];Dl&&(s[t]=0)}}const c=Ea[t];let d,p;if(c)return t==="$attrs"&&Ct(e,"get",t),c(e);if((d=o.__cssModules)&&(d=d[t]))return d;if(r!==qe&&Ie(r,t))return s[t]=4,r[t];if(p=l.config.globalProperties,Ie(p,t))return p[t]},set({_:e},t,r){const{data:n,setupState:i,ctx:a}=e;return I0(i,t)?(i[t]=r,!0):n!==qe&&Ie(n,t)?(n[t]=r,!0):Ie(e.props,t)||t[0]==="$"&&t.slice(1)in e?!1:(a[t]=r,!0)},has({_:{data:e,setupState:t,accessCache:r,ctx:n,appContext:i,propsOptions:a}},s){let o;return!!r[s]||e!==qe&&Ie(e,s)||I0(t,s)||(o=a[0])&&Ie(o,s)||Ie(n,s)||Ie(Ea,s)||Ie(i.config.globalProperties,s)},defineProperty(e,t,r){return r.get!=null?e._.accessCache[t]=0:Ie(r,"value")&&this.set(e,t,r.value,null),Reflect.defineProperty(e,t,r)}};let Dl=!0;function g6(e){const t=oc(e),r=e.proxy,n=e.ctx;Dl=!1,t.beforeCreate&&Gf(t.beforeCreate,e,"bc");const{data:i,computed:a,methods:s,watch:o,provide:l,inject:u,created:c,beforeMount:d,mounted:p,beforeUpdate:g,updated:v,activated:E,deactivated:R,beforeDestroy:_,beforeUnmount:b,destroyed:T,unmounted:O,render:N,renderTracked:B,renderTriggered:F,errorCaptured:P,serverPrefetch:q,expose:re,inheritAttrs:ie,components:j,directives:oe,filters:W}=t;if(u&&y6(u,n,null,e.appContext.config.unwrapInjectedRef),s)for(const K in s){const ne=s[K];we(ne)&&(n[K]=ne.bind(r))}if(i){const K=i.call(r,r);He(K)&&(e.data=pr(K))}if(Dl=!0,a)for(const K in a){const ne=a[K],ge=we(ne)?ne.bind(r,r):we(ne.get)?ne.get.bind(r,r):er,Te=!we(ne)&&we(ne.set)?ne.set.bind(r):er,Ne=xt({get:ge,set:Te});Object.defineProperty(n,K,{enumerable:!0,configurable:!0,get:()=>Ne.value,set:Re=>Ne.value=Re})}if(o)for(const K in o)tm(o[K],n,r,K);if(l){const K=we(l)?l.call(r):l;Reflect.ownKeys(K).forEach(ne=>{Ti(ne,K[ne])})}c&&Gf(c,e,"c");function I(K,ne){ve(ne)?ne.forEach(ge=>K(ge.bind(r))):ne&&K(ne.bind(r))}if(I(c6,d),I(ac,p),I(f6,g),I(Kp,v),I(Yp,E),I(Wp,R),I(Jp,P),I(p6,B),I(h6,F),I(Vo,b),I(Xp,O),I(d6,q),ve(re))if(re.length){const K=e.exposed||(e.exposed={});re.forEach(ne=>{Object.defineProperty(K,ne,{get:()=>r[ne],set:ge=>r[ne]=ge})})}else e.exposed||(e.exposed={});N&&e.render===er&&(e.render=N),ie!=null&&(e.inheritAttrs=ie),j&&(e.components=j),oe&&(e.directives=oe)}function y6(e,t,r=er,n=!1){ve(e)&&(e=Bl(e));for(const i in e){const a=e[i];let s;He(a)?"default"in a?s=Lt(a.from||i,a.default,!0):s=Lt(a.from||i):s=Lt(a),st(s)&&n?Object.defineProperty(t,i,{enumerable:!0,configurable:!0,get:()=>s.value,set:o=>s.value=o}):t[i]=s}}function Gf(e,t,r){Yt(ve(e)?e.map(n=>n.bind(t.proxy)):e.bind(t.proxy),t,r)}function tm(e,t,r,n){const i=n.includes(".")?Up(r,n):()=>r[n];if(Xe(e)){const a=t[e];we(a)&&ki(i,a)}else if(we(e))ki(i,e.bind(r));else if(He(e))if(ve(e))e.forEach(a=>tm(a,t,r,n));else{const a=we(e.handler)?e.handler.bind(r):t[e.handler];we(a)&&ki(i,a,e)}}function oc(e){const t=e.type,{mixins:r,extends:n}=t,{mixins:i,optionsCache:a,config:{optionMergeStrategies:s}}=e.appContext,o=a.get(t);let l;return o?l=o:!i.length&&!r&&!n?l=t:(l={},i.length&&i.forEach(u=>ho(l,u,s,!0)),ho(l,t,s)),He(t)&&a.set(t,l),l}function ho(e,t,r,n=!1){const{mixins:i,extends:a}=t;a&&ho(e,a,r,!0),i&&i.forEach(s=>ho(e,s,r,!0));for(const s in t)if(!(n&&s==="expose")){const o=v6[s]||r&&r[s];e[s]=o?o(e[s],t[s]):t[s]}return e}const v6={data:Yf,props:Bn,emits:Bn,methods:Bn,computed:Bn,beforeCreate:wt,created:wt,beforeMount:wt,mounted:wt,beforeUpdate:wt,updated:wt,beforeDestroy:wt,beforeUnmount:wt,destroyed:wt,unmounted:wt,activated:wt,deactivated:wt,errorCaptured:wt,serverPrefetch:wt,components:Bn,directives:Bn,watch:_6,provide:Yf,inject:b6};function Yf(e,t){return t?e?function(){return mt(we(e)?e.call(this,this):e,we(t)?t.call(this,this):t)}:t:e}function b6(e,t){return Bn(Bl(e),Bl(t))}function Bl(e){if(ve(e)){const t={};for(let r=0;r0)&&!(s&16)){if(s&8){const c=e.vnode.dynamicProps;for(let d=0;d{l=!0;const[p,g]=nm(d,t,!0);mt(s,p),g&&o.push(...g)};!r&&t.mixins.length&&t.mixins.forEach(c),e.extends&&c(e.extends),e.mixins&&e.mixins.forEach(c)}if(!a&&!l)return He(e)&&n.set(e,vi),vi;if(ve(a))for(let c=0;c-1,g[1]=E<0||v-1||Ie(g,"default"))&&o.push(d)}}}const u=[s,o];return He(e)&&n.set(e,u),u}function Wf(e){return e[0]!=="$"}function Vf(e){const t=e&&e.toString().match(/^\s*(function|class) (\w+)/);return t?t[2]:e===null?"null":""}function Kf(e,t){return Vf(e)===Vf(t)}function Xf(e,t){return ve(t)?t.findIndex(r=>Kf(r,e)):we(t)&&Kf(t,e)?0:-1}const im=e=>e[0]==="_"||e==="$stable",lc=e=>ve(e)?e.map(Ht):[Ht(e)],E6=(e,t,r)=>{if(t._n)return t;const n=tc((...i)=>lc(t(...i)),r);return n._c=!1,n},am=(e,t,r)=>{const n=e._ctx;for(const i in e){if(im(i))continue;const a=e[i];if(we(a))t[i]=E6(i,a,n);else if(a!=null){const s=lc(a);t[i]=()=>s}}},sm=(e,t)=>{const r=lc(t);e.slots.default=()=>r},x6=(e,t)=>{if(e.vnode.shapeFlag&32){const r=t._;r?(e.slots=De(t),ao(t,"_",r)):am(t,e.slots={})}else e.slots={},t&&sm(e,t);ao(e.slots,Ko,1)},T6=(e,t,r)=>{const{vnode:n,slots:i}=e;let a=!0,s=qe;if(n.shapeFlag&32){const o=t._;o?r&&o===1?a=!1:(mt(i,t),!r&&o===1&&delete i._):(a=!t.$stable,am(t,i)),s=t}else t&&(sm(e,t),s={default:1});if(a)for(const o in i)!im(o)&&!(o in s)&&delete i[o]};function om(){return{app:null,config:{isNativeTag:Z5,performance:!1,globalProperties:{},optionMergeStrategies:{},errorHandler:void 0,warnHandler:void 0,compilerOptions:{}},mixins:[],components:{},directives:{},provides:Object.create(null),optionsCache:new WeakMap,propsCache:new WeakMap,emitsCache:new WeakMap}}let k6=0;function A6(e,t){return function(n,i=null){we(n)||(n=Object.assign({},n)),i!=null&&!He(i)&&(i=null);const a=om(),s=new Set;let o=!1;const l=a.app={_uid:k6++,_component:n,_props:i,_container:null,_context:a,_instance:null,version:cc,get config(){return a.config},set config(u){},use(u,...c){return s.has(u)||(u&&we(u.install)?(s.add(u),u.install(l,...c)):we(u)&&(s.add(u),u(l,...c))),l},mixin(u){return a.mixins.includes(u)||a.mixins.push(u),l},component(u,c){return c?(a.components[u]=c,l):a.components[u]},directive(u,c){return c?(a.directives[u]=c,l):a.directives[u]},mount(u,c,d){if(!o){const p=Ye(n,i);return p.appContext=a,c&&t?t(p,u):e(p,u,d),o=!0,l._container=u,u.__vue_app__=l,Jo(p.component)||p.component.proxy}},unmount(){o&&(e(null,l._container),delete l._container.__vue_app__)},provide(u,c){return a.provides[u]=c,l}};return l}}function po(e,t,r,n,i=!1){if(ve(e)){e.forEach((p,g)=>po(p,t&&(ve(t)?t[g]:t),r,n,i));return}if(Gn(n)&&!i)return;const a=n.shapeFlag&4?Jo(n.component)||n.component.proxy:n.el,s=i?null:a,{i:o,r:l}=e,u=t&&t.r,c=o.refs===qe?o.refs={}:o.refs,d=o.setupState;if(u!=null&&u!==l&&(Xe(u)?(c[u]=null,Ie(d,u)&&(d[u]=null)):st(u)&&(u.value=null)),we(l))dn(l,o,12,[s,c]);else{const p=Xe(l),g=st(l);if(p||g){const v=()=>{if(e.f){const E=p?Ie(d,l)?d[l]:c[l]:l.value;i?ve(E)&&qu(E,a):ve(E)?E.includes(a)||E.push(a):p?(c[l]=[a],Ie(d,l)&&(d[l]=c[l])):(l.value=[a],e.k&&(c[e.k]=l.value))}else p?(c[l]=s,Ie(d,l)&&(d[l]=s)):g&&(l.value=s,e.k&&(c[e.k]=s))};s?(v.id=-1,ft(v,r)):v()}}}let Yr=!1;const Rs=e=>/svg/.test(e.namespaceURI)&&e.tagName!=="foreignObject",Os=e=>e.nodeType===8;function R6(e){const{mt:t,p:r,o:{patchProp:n,createText:i,nextSibling:a,parentNode:s,remove:o,insert:l,createComment:u}}=e,c=(_,b)=>{if(!b.hasChildNodes()){r(null,_,b),uo(),b._vnode=_;return}Yr=!1,d(b.firstChild,_,null,null,null),uo(),b._vnode=_,Yr&&console.error("Hydration completed but contains mismatches.")},d=(_,b,T,O,N,B=!1)=>{const F=Os(_)&&_.data==="[",P=()=>E(_,b,T,O,N,F),{type:q,ref:re,shapeFlag:ie,patchFlag:j}=b;let oe=_.nodeType;b.el=_,j===-2&&(B=!1,b.dynamicChildren=null);let W=null;switch(q){case Bi:oe!==3?b.children===""?(l(b.el=i(""),s(_),_),W=_):W=P():(_.data!==b.children&&(Yr=!0,_.data=b.children),W=a(_));break;case kt:oe!==8||F?W=P():W=a(_);break;case xa:if(F&&(_=a(_),oe=_.nodeType),oe===1||oe===3){W=_;const Ee=!b.children.length;for(let I=0;I{B=B||!!b.dynamicChildren;const{type:F,props:P,patchFlag:q,shapeFlag:re,dirs:ie}=b,j=F==="input"&&ie||F==="option";if(j||q!==-1){if(ie&&lr(b,null,T,"created"),P)if(j||!B||q&48)for(const W in P)(j&&W.endsWith("value")||ls(W)&&!Sa(W))&&n(_,W,null,P[W],!1,void 0,T);else P.onClick&&n(_,"onClick",null,P.onClick,!1,void 0,T);let oe;if((oe=P&&P.onVnodeBeforeMount)&&Mt(oe,T,b),ie&&lr(b,null,T,"beforeMount"),((oe=P&&P.onVnodeMounted)||ie)&&Hp(()=>{oe&&Mt(oe,T,b),ie&&lr(b,null,T,"mounted")},O),re&16&&!(P&&(P.innerHTML||P.textContent))){let W=g(_.firstChild,b,_,T,O,N,B);for(;W;){Yr=!0;const Ee=W;W=W.nextSibling,o(Ee)}}else re&8&&_.textContent!==b.children&&(Yr=!0,_.textContent=b.children)}return _.nextSibling},g=(_,b,T,O,N,B,F)=>{F=F||!!b.dynamicChildren;const P=b.children,q=P.length;for(let re=0;re{const{slotScopeIds:F}=b;F&&(N=N?N.concat(F):F);const P=s(_),q=g(a(_),b,P,T,O,N,B);return q&&Os(q)&&q.data==="]"?a(b.anchor=q):(Yr=!0,l(b.anchor=u("]"),P,q),q)},E=(_,b,T,O,N,B)=>{if(Yr=!0,b.el=null,B){const q=R(_);for(;;){const re=a(_);if(re&&re!==q)o(re);else break}}const F=a(_),P=s(_);return o(_),r(null,b,P,F,T,O,Rs(P),N),F},R=_=>{let b=0;for(;_;)if(_=a(_),_&&Os(_)&&(_.data==="["&&b++,_.data==="]")){if(b===0)return a(_);b--}return _};return[c,d]}const ft=Hp;function O6(e){return lm(e)}function M6(e){return lm(e,R6)}function lm(e,t){const r=a3();r.__VUE__=!0;const{insert:n,remove:i,patchProp:a,createElement:s,createText:o,createComment:l,setText:u,setElementText:c,parentNode:d,nextSibling:p,setScopeId:g=er,insertStaticContent:v}=e,E=(w,k,C,z=null,H=null,D=null,ae=!1,U=null,G=!!k.dynamicChildren)=>{if(w===k)return;w&&!Qt(w,k)&&(z=te(w),Re(w,H,D,!0),w=null),k.patchFlag===-2&&(G=!1,k.dynamicChildren=null);const{type:V,ref:he,shapeFlag:fe}=k;switch(V){case Bi:R(w,k,C,z);break;case kt:_(w,k,C,z);break;case xa:w==null&&b(k,C,z,ae);break;case Et:j(w,k,C,z,H,D,ae,U,G);break;default:fe&1?N(w,k,C,z,H,D,ae,U,G):fe&6?oe(w,k,C,z,H,D,ae,U,G):(fe&64||fe&128)&&V.process(w,k,C,z,H,D,ae,U,G,Ae)}he!=null&&H&&po(he,w&&w.ref,D,k||w,!k)},R=(w,k,C,z)=>{if(w==null)n(k.el=o(k.children),C,z);else{const H=k.el=w.el;k.children!==w.children&&u(H,k.children)}},_=(w,k,C,z)=>{w==null?n(k.el=l(k.children||""),C,z):k.el=w.el},b=(w,k,C,z)=>{[w.el,w.anchor]=v(w.children,k,C,z,w.el,w.anchor)},T=({el:w,anchor:k},C,z)=>{let H;for(;w&&w!==k;)H=p(w),n(w,C,z),w=H;n(k,C,z)},O=({el:w,anchor:k})=>{let C;for(;w&&w!==k;)C=p(w),i(w),w=C;i(k)},N=(w,k,C,z,H,D,ae,U,G)=>{ae=ae||k.type==="svg",w==null?B(k,C,z,H,D,ae,U,G):q(w,k,H,D,ae,U,G)},B=(w,k,C,z,H,D,ae,U)=>{let G,V;const{type:he,props:fe,shapeFlag:me,transition:$,dirs:J}=w;if(G=w.el=s(w.type,D,fe&&fe.is,fe),me&8?c(G,w.children):me&16&&P(w.children,G,null,z,H,D&&he!=="foreignObject",ae,U),J&&lr(w,null,z,"created"),F(G,w,w.scopeId,ae,z),fe){for(const pe in fe)pe!=="value"&&!Sa(pe)&&a(G,pe,null,fe[pe],D,w.children,z,H,se);"value"in fe&&a(G,"value",null,fe.value),(V=fe.onVnodeBeforeMount)&&Mt(V,z,w)}J&&lr(w,null,z,"beforeMount");const ce=(!H||H&&!H.pendingBranch)&&$&&!$.persisted;ce&&$.beforeEnter(G),n(G,k,C),((V=fe&&fe.onVnodeMounted)||ce||J)&&ft(()=>{V&&Mt(V,z,w),ce&&$.enter(G),J&&lr(w,null,z,"mounted")},H)},F=(w,k,C,z,H)=>{if(C&&g(w,C),z)for(let D=0;D{for(let V=G;V{const U=k.el=w.el;let{patchFlag:G,dynamicChildren:V,dirs:he}=k;G|=w.patchFlag&16;const fe=w.props||qe,me=k.props||qe;let $;C&&Mn(C,!1),($=me.onVnodeBeforeUpdate)&&Mt($,C,k,w),he&&lr(k,w,C,"beforeUpdate"),C&&Mn(C,!0);const J=H&&k.type!=="foreignObject";if(V?re(w.dynamicChildren,V,U,C,z,J,D):ae||ne(w,k,U,null,C,z,J,D,!1),G>0){if(G&16)ie(U,k,fe,me,C,z,H);else if(G&2&&fe.class!==me.class&&a(U,"class",null,me.class,H),G&4&&a(U,"style",fe.style,me.style,H),G&8){const ce=k.dynamicProps;for(let pe=0;pe{$&&Mt($,C,k,w),he&&lr(k,w,C,"updated")},z)},re=(w,k,C,z,H,D,ae)=>{for(let U=0;U{if(C!==z){if(C!==qe)for(const U in C)!Sa(U)&&!(U in z)&&a(w,U,C[U],null,ae,k.children,H,D,se);for(const U in z){if(Sa(U))continue;const G=z[U],V=C[U];G!==V&&U!=="value"&&a(w,U,V,G,ae,k.children,H,D,se)}"value"in z&&a(w,"value",C.value,z.value)}},j=(w,k,C,z,H,D,ae,U,G)=>{const V=k.el=w?w.el:o(""),he=k.anchor=w?w.anchor:o("");let{patchFlag:fe,dynamicChildren:me,slotScopeIds:$}=k;$&&(U=U?U.concat($):$),w==null?(n(V,C,z),n(he,C,z),P(k.children,C,he,H,D,ae,U,G)):fe>0&&fe&64&&me&&w.dynamicChildren?(re(w.dynamicChildren,me,C,H,D,ae,U),(k.key!=null||H&&k===H.subTree)&&um(w,k,!0)):ne(w,k,C,he,H,D,ae,U,G)},oe=(w,k,C,z,H,D,ae,U,G)=>{k.slotScopeIds=U,w==null?k.shapeFlag&512?H.ctx.activate(k,C,z,ae,G):W(k,C,z,H,D,ae,G):Ee(w,k,G)},W=(w,k,C,z,H,D,ae)=>{const U=w.component=$6(w,z,H);if(us(w)&&(U.ctx.renderer=Ae),F6(U),U.asyncDep){if(H&&H.registerDep(U,I),!w.el){const G=U.subTree=Ye(kt);_(null,G,k,C)}return}I(U,w,k,C,H,D,ae)},Ee=(w,k,C)=>{const z=k.component=w.component;if(X3(w,k,C))if(z.asyncDep&&!z.asyncResolved){K(z,k,C);return}else z.next=k,q3(z.update),z.update();else k.el=w.el,z.vnode=k},I=(w,k,C,z,H,D,ae)=>{const U=()=>{if(w.isMounted){let{next:he,bu:fe,u:me,parent:$,vnode:J}=w,ce=he,pe;Mn(w,!1),he?(he.el=J.el,K(w,he,ae)):he=J,fe&&_i(fe),(pe=he.props&&he.props.onVnodeBeforeUpdate)&&Mt(pe,$,he,J),Mn(w,!0);const Me=R0(w),tt=w.subTree;w.subTree=Me,E(tt,Me,d(tt.el),te(tt),w,H,D),he.el=Me.el,ce===null&&rc(w,Me.el),me&&ft(me,H),(pe=he.props&&he.props.onVnodeUpdated)&&ft(()=>Mt(pe,$,he,J),H)}else{let he;const{el:fe,props:me}=k,{bm:$,m:J,parent:ce}=w,pe=Gn(k);if(Mn(w,!1),$&&_i($),!pe&&(he=me&&me.onVnodeBeforeMount)&&Mt(he,ce,k),Mn(w,!0),fe&&xe){const Me=()=>{w.subTree=R0(w),xe(fe,w.subTree,w,H,null)};pe?k.type.__asyncLoader().then(()=>!w.isUnmounted&&Me()):Me()}else{const Me=w.subTree=R0(w);E(null,Me,C,z,w,H,D),k.el=Me.el}if(J&&ft(J,H),!pe&&(he=me&&me.onVnodeMounted)){const Me=k;ft(()=>Mt(he,ce,Me),H)}(k.shapeFlag&256||ce&&Gn(ce.vnode)&&ce.vnode.shapeFlag&256)&&w.a&&ft(w.a,H),w.isMounted=!0,k=C=z=null}},G=w.effect=new Vu(U,()=>qo(V),w.scope),V=w.update=()=>G.run();V.id=w.uid,Mn(w,!0),V()},K=(w,k,C)=>{k.component=w;const z=w.vnode.props;w.vnode=k,w.next=null,S6(w,k.props,z,C),T6(w,k.children,C),Zi(),Ff(),Qi()},ne=(w,k,C,z,H,D,ae,U,G=!1)=>{const V=w&&w.children,he=w?w.shapeFlag:0,fe=k.children,{patchFlag:me,shapeFlag:$}=k;if(me>0){if(me&128){Te(V,fe,C,z,H,D,ae,U,G);return}else if(me&256){ge(V,fe,C,z,H,D,ae,U,G);return}}$&8?(he&16&&se(V,H,D),fe!==V&&c(C,fe)):he&16?$&16?Te(V,fe,C,z,H,D,ae,U,G):se(V,H,D,!0):(he&8&&c(C,""),$&16&&P(fe,C,z,H,D,ae,U,G))},ge=(w,k,C,z,H,D,ae,U,G)=>{w=w||vi,k=k||vi;const V=w.length,he=k.length,fe=Math.min(V,he);let me;for(me=0;mehe?se(w,H,D,!0,!1,fe):P(k,C,z,H,D,ae,U,G,fe)},Te=(w,k,C,z,H,D,ae,U,G)=>{let V=0;const he=k.length;let fe=w.length-1,me=he-1;for(;V<=fe&&V<=me;){const $=w[V],J=k[V]=G?Zr(k[V]):Ht(k[V]);if(Qt($,J))E($,J,C,null,H,D,ae,U,G);else break;V++}for(;V<=fe&&V<=me;){const $=w[fe],J=k[me]=G?Zr(k[me]):Ht(k[me]);if(Qt($,J))E($,J,C,null,H,D,ae,U,G);else break;fe--,me--}if(V>fe){if(V<=me){const $=me+1,J=$me)for(;V<=fe;)Re(w[V],H,D,!0),V++;else{const $=V,J=V,ce=new Map;for(V=J;V<=me;V++){const Dt=k[V]=G?Zr(k[V]):Ht(k[V]);Dt.key!=null&&ce.set(Dt.key,V)}let pe,Me=0;const tt=me-J+1;let qr=!1,ws=0;const ua=new Array(tt);for(V=0;V=tt){Re(Dt,H,D,!0);continue}let ar;if(Dt.key!=null)ar=ce.get(Dt.key);else for(pe=J;pe<=me;pe++)if(ua[pe-J]===0&&Qt(Dt,k[pe])){ar=pe;break}ar===void 0?Re(Dt,H,D,!0):(ua[ar-J]=V+1,ar>=ws?ws=ar:qr=!0,E(Dt,k[ar],C,null,H,D,ae,U,G),Me++)}const Of=qr?N6(ua):vi;for(pe=Of.length-1,V=tt-1;V>=0;V--){const Dt=J+V,ar=k[Dt],Mf=Dt+1{const{el:D,type:ae,transition:U,children:G,shapeFlag:V}=w;if(V&6){Ne(w.component.subTree,k,C,z);return}if(V&128){w.suspense.move(k,C,z);return}if(V&64){ae.move(w,k,C,Ae);return}if(ae===Et){n(D,k,C);for(let fe=0;feU.enter(D),H);else{const{leave:fe,delayLeave:me,afterLeave:$}=U,J=()=>n(D,k,C),ce=()=>{fe(D,()=>{J(),$&&$()})};me?me(D,J,ce):ce()}else n(D,k,C)},Re=(w,k,C,z=!1,H=!1)=>{const{type:D,props:ae,ref:U,children:G,dynamicChildren:V,shapeFlag:he,patchFlag:fe,dirs:me}=w;if(U!=null&&po(U,null,C,w,!0),he&256){k.ctx.deactivate(w);return}const $=he&1&&me,J=!Gn(w);let ce;if(J&&(ce=ae&&ae.onVnodeBeforeUnmount)&&Mt(ce,k,w),he&6)L(w.component,C,z);else{if(he&128){w.suspense.unmount(C,z);return}$&&lr(w,null,k,"beforeUnmount"),he&64?w.type.remove(w,k,C,H,Ae,z):V&&(D!==Et||fe>0&&fe&64)?se(V,k,C,!1,!0):(D===Et&&fe&384||!H&&he&16)&&se(G,k,C),z&&ut(w)}(J&&(ce=ae&&ae.onVnodeUnmounted)||$)&&ft(()=>{ce&&Mt(ce,k,w),$&&lr(w,null,k,"unmounted")},C)},ut=w=>{const{type:k,el:C,anchor:z,transition:H}=w;if(k===Et){Je(C,z);return}if(k===xa){O(w);return}const D=()=>{i(C),H&&!H.persisted&&H.afterLeave&&H.afterLeave()};if(w.shapeFlag&1&&H&&!H.persisted){const{leave:ae,delayLeave:U}=H,G=()=>ae(C,D);U?U(w.el,D,G):G()}else D()},Je=(w,k)=>{let C;for(;w!==k;)C=p(w),i(w),w=C;i(k)},L=(w,k,C)=>{const{bum:z,scope:H,update:D,subTree:ae,um:U}=w;z&&_i(z),H.stop(),D&&(D.active=!1,Re(ae,w,k,C)),U&&ft(U,k),ft(()=>{w.isUnmounted=!0},k),k&&k.pendingBranch&&!k.isUnmounted&&w.asyncDep&&!w.asyncResolved&&w.suspenseId===k.pendingId&&(k.deps--,k.deps===0&&k.resolve())},se=(w,k,C,z=!1,H=!1,D=0)=>{for(let ae=D;aew.shapeFlag&6?te(w.component.subTree):w.shapeFlag&128?w.suspense.next():p(w.anchor||w.el),de=(w,k,C)=>{w==null?k._vnode&&Re(k._vnode,null,null,!0):E(k._vnode||null,w,k,null,null,null,C),Ff(),uo(),k._vnode=w},Ae={p:E,um:Re,m:Ne,r:ut,mt:W,mc:P,pc:ne,pbc:re,n:te,o:e};let Le,xe;return t&&([Le,xe]=t(Ae)),{render:de,hydrate:Le,createApp:A6(de,Le)}}function Mn({effect:e,update:t},r){e.allowRecurse=t.allowRecurse=r}function um(e,t,r=!1){const n=e.children,i=t.children;if(ve(n)&&ve(i))for(let a=0;a>1,e[r[o]]0&&(t[n]=r[a-1]),r[a]=n)}}for(a=r.length,s=r[a-1];a-- >0;)r[a]=s,s=t[s];return r}const C6=e=>e.__isTeleport,Et=Symbol(void 0),Bi=Symbol(void 0),kt=Symbol(void 0),xa=Symbol(void 0),Ta=[];let jt=null;function sn(e=!1){Ta.push(jt=e?null:[])}function cm(){Ta.pop(),jt=Ta[Ta.length-1]||null}let Pi=1;function Jf(e){Pi+=e}function fm(e){return e.dynamicChildren=Pi>0?jt||vi:null,cm(),Pi>0&&jt&&jt.push(e),e}function I6(e,t,r,n,i,a){return fm(Xo(e,t,r,n,i,a,!0))}function hi(e,t,r,n,i){return fm(Ye(e,t,r,n,i,!0))}function Li(e){return e?e.__v_isVNode===!0:!1}function Qt(e,t){return e.type===t.type&&e.key===t.key}const Ko="__vInternal",dm=({key:e})=>e??null,Qs=({ref:e,ref_key:t,ref_for:r})=>e!=null?Xe(e)||st(e)||we(e)?{i:pt,r:e,k:t,f:!!r}:e:null;function Xo(e,t=null,r=null,n=0,i=null,a=e===Et?0:1,s=!1,o=!1){const l={__v_isVNode:!0,__v_skip:!0,type:e,props:t,key:t&&dm(t),ref:t&&Qs(t),scopeId:Yo,slotScopeIds:null,children:r,component:null,suspense:null,ssContent:null,ssFallback:null,dirs:null,transition:null,el:null,anchor:null,target:null,targetAnchor:null,staticCount:0,shapeFlag:a,patchFlag:n,dynamicProps:i,dynamicChildren:null,appContext:null,ctx:pt};return o?(uc(l,r),a&128&&e.normalize(l)):r&&(l.shapeFlag|=Xe(r)?8:16),Pi>0&&!s&&jt&&(l.patchFlag>0||a&6)&&l.patchFlag!==32&&jt.push(l),l}const Ye=D6;function D6(e,t=null,r=null,n=0,i=null,a=!1){if((!e||e===Zp)&&(e=kt),Li(e)){const o=Br(e,t,!0);return r&&uc(o,r),Pi>0&&!a&&jt&&(o.shapeFlag&6?jt[jt.indexOf(e)]=o:jt.push(o)),o.patchFlag|=-2,o}if(j6(e)&&(e=e.__vccOpts),t){t=B6(t);let{class:o,style:l}=t;o&&!Xe(o)&&(t.class=zo(o)),He(l)&&(kp(l)&&!ve(l)&&(l=mt({},l)),t.style=Lo(l))}const s=Xe(e)?1:$p(e)?128:C6(e)?64:He(e)?4:we(e)?2:0;return Xo(e,t,r,n,i,s,a,!0)}function B6(e){return e?kp(e)||Ko in e?mt({},e):e:null}function Br(e,t,r=!1){const{props:n,ref:i,patchFlag:a,children:s}=e,o=t?P6(n||{},t):n;return{__v_isVNode:!0,__v_skip:!0,type:e.type,props:o,key:o&&dm(o),ref:t&&t.ref?r&&i?ve(i)?i.concat(Qs(t)):[i,Qs(t)]:Qs(t):i,scopeId:e.scopeId,slotScopeIds:e.slotScopeIds,children:s,target:e.target,targetAnchor:e.targetAnchor,staticCount:e.staticCount,shapeFlag:e.shapeFlag,patchFlag:t&&e.type!==Et?a===-1?16:a|16:a,dynamicProps:e.dynamicProps,dynamicChildren:e.dynamicChildren,appContext:e.appContext,dirs:e.dirs,transition:e.transition,component:e.component,suspense:e.suspense,ssContent:e.ssContent&&Br(e.ssContent),ssFallback:e.ssFallback&&Br(e.ssFallback),el:e.el,anchor:e.anchor,ctx:e.ctx,ce:e.ce}}function hm(e=" ",t=0){return Ye(Bi,null,e,t)}function xP(e,t){const r=Ye(xa,null,e);return r.staticCount=t,r}function TP(e="",t=!1){return t?(sn(),hi(kt,null,e)):Ye(kt,null,e)}function Ht(e){return e==null||typeof e=="boolean"?Ye(kt):ve(e)?Ye(Et,null,e.slice()):typeof e=="object"?Zr(e):Ye(Bi,null,String(e))}function Zr(e){return e.el===null&&e.patchFlag!==-1||e.memo?e:Br(e)}function uc(e,t){let r=0;const{shapeFlag:n}=e;if(t==null)t=null;else if(ve(t))r=16;else if(typeof t=="object")if(n&65){const i=t.default;i&&(i._c&&(i._d=!1),uc(e,i()),i._c&&(i._d=!0));return}else{r=32;const i=t._;!i&&!(Ko in t)?t._ctx=pt:i===3&&pt&&(pt.slots._===1?t._=1:(t._=2,e.patchFlag|=1024))}else we(t)?(t={default:t,_ctx:pt},r=32):(t=String(t),n&64?(r=16,t=[hm(t)]):r=8);e.children=t,e.shapeFlag|=r}function P6(...e){const t={};for(let r=0;rQe||pt,bn=e=>{Qe=e,e.scope.on()},hn=()=>{Qe&&Qe.scope.off(),Qe=null};function pm(e){return e.vnode.shapeFlag&4}let zi=!1;function F6(e,t=!1){zi=t;const{props:r,children:n}=e.vnode,i=pm(e);w6(e,r,i,t),x6(e,n);const a=i?H6(e,t):void 0;return zi=!1,a}function H6(e,t){const r=e.type;e.accessCache=Object.create(null),e.proxy=Ap(new Proxy(e.ctx,m6));const{setup:n}=r;if(n){const i=e.setupContext=n.length>1?gm(e):null;bn(e),Zi();const a=dn(n,e,0,[e.props,i]);if(Qi(),hn(),Gu(a)){if(a.then(hn,hn),t)return a.then(s=>{Ll(e,s,t)}).catch(s=>{ea(s,e,0)});e.asyncDep=a}else Ll(e,a,t)}else mm(e,t)}function Ll(e,t,r){we(t)?e.type.__ssrInlineRender?e.ssrRender=t:e.render=t:He(t)&&(e.setupState=Np(t)),mm(e,r)}let Zf;function mm(e,t,r){const n=e.type;if(!e.render){if(!t&&Zf&&!n.render){const i=n.template||oc(e).template;if(i){const{isCustomElement:a,compilerOptions:s}=e.appContext.config,{delimiters:o,compilerOptions:l}=n,u=mt(mt({isCustomElement:a,delimiters:o},s),l);n.render=Zf(i,u)}}e.render=n.render||er}bn(e),Zi(),g6(e),Qi(),hn()}function U6(e){return new Proxy(e.attrs,{get(t,r){return Ct(e,"get","$attrs"),t[r]}})}function gm(e){const t=n=>{e.exposed=n||{}};let r;return{get attrs(){return r||(r=U6(e))},slots:e.slots,emit:e.emit,expose:t}}function Jo(e){if(e.exposed)return e.exposeProxy||(e.exposeProxy=new Proxy(Np(Ap(e.exposed)),{get(t,r){if(r in t)return t[r];if(r in Ea)return Ea[r](e)},has(t,r){return r in t||r in Ea}}))}function zl(e,t=!0){return we(e)?e.displayName||e.name:e.name||t&&e.__name}function j6(e){return we(e)&&"__vccOpts"in e}const xt=(e,t)=>H3(e,t,zi);function kP(){return q6().slots}function q6(){const e=An();return e.setupContext||(e.setupContext=gm(e))}function AP(e){const t=An();let r=e();return hn(),Gu(r)&&(r=r.catch(n=>{throw bn(t),n})),[r,()=>bn(t)]}function tr(e,t,r){const n=arguments.length;return n===2?He(t)&&!ve(t)?Li(t)?Ye(e,null,[t]):Ye(e,t):Ye(e,null,t):(n>3?r=Array.prototype.slice.call(arguments,2):n===3&&Li(r)&&(r=[r]),Ye(e,t,r))}const G6=Symbol(""),Y6=()=>Lt(G6),cc="3.2.47",W6="http://www.w3.org/2000/svg",zn=typeof document<"u"?document:null,Qf=zn&&zn.createElement("template"),V6={insert:(e,t,r)=>{t.insertBefore(e,r||null)},remove:e=>{const t=e.parentNode;t&&t.removeChild(e)},createElement:(e,t,r,n)=>{const i=t?zn.createElementNS(W6,e):zn.createElement(e,r?{is:r}:void 0);return e==="select"&&n&&n.multiple!=null&&i.setAttribute("multiple",n.multiple),i},createText:e=>zn.createTextNode(e),createComment:e=>zn.createComment(e),setText:(e,t)=>{e.nodeValue=t},setElementText:(e,t)=>{e.textContent=t},parentNode:e=>e.parentNode,nextSibling:e=>e.nextSibling,querySelector:e=>zn.querySelector(e),setScopeId(e,t){e.setAttribute(t,"")},insertStaticContent(e,t,r,n,i,a){const s=r?r.previousSibling:t.lastChild;if(i&&(i===a||i.nextSibling))for(;t.insertBefore(i.cloneNode(!0),r),!(i===a||!(i=i.nextSibling)););else{Qf.innerHTML=n?`${e}`:e;const o=Qf.content;if(n){const l=o.firstChild;for(;l.firstChild;)o.appendChild(l.firstChild);o.removeChild(l)}t.insertBefore(o,r)}return[s?s.nextSibling:t.firstChild,r?r.previousSibling:t.lastChild]}};function K6(e,t,r){const n=e._vtc;n&&(t=(t?[t,...n]:[...n]).join(" ")),t==null?e.removeAttribute("class"):r?e.setAttribute("class",t):e.className=t}function X6(e,t,r){const n=e.style,i=Xe(r);if(r&&!i){if(t&&!Xe(t))for(const a in t)r[a]==null&&$l(n,a,"");for(const a in r)$l(n,a,r[a])}else{const a=n.display;i?t!==r&&(n.cssText=r):t&&e.removeAttribute("style"),"_vod"in e&&(n.display=a)}}const ed=/\s*!important$/;function $l(e,t,r){if(ve(r))r.forEach(n=>$l(e,t,n));else if(r==null&&(r=""),t.startsWith("--"))e.setProperty(t,r);else{const n=J6(e,t);ed.test(r)?e.setProperty(ei(n),r.replace(ed,""),"important"):e[n]=r}}const td=["Webkit","Moz","ms"],D0={};function J6(e,t){const r=D0[t];if(r)return r;let n=hr(t);if(n!=="filter"&&n in e)return D0[t]=n;n=Uo(n);for(let i=0;iB0||(n7.then(()=>B0=0),B0=Date.now());function a7(e,t){const r=n=>{if(!n._vts)n._vts=Date.now();else if(n._vts<=r.attached)return;Yt(s7(n,r.value),t,5,[n])};return r.value=e,r.attached=i7(),r}function s7(e,t){if(ve(t)){const r=e.stopImmediatePropagation;return e.stopImmediatePropagation=()=>{r.call(e),e._stopped=!0},t.map(n=>i=>!i._stopped&&n&&n(i))}else return t}const id=/^on[a-z]/,o7=(e,t,r,n,i=!1,a,s,o,l)=>{t==="class"?K6(e,n,i):t==="style"?X6(e,r,n):ls(t)?ju(t)||t7(e,t,r,n,s):(t[0]==="."?(t=t.slice(1),!0):t[0]==="^"?(t=t.slice(1),!1):l7(e,t,n,i))?Q6(e,t,n,a,s,o,l):(t==="true-value"?e._trueValue=n:t==="false-value"&&(e._falseValue=n),Z6(e,t,n,i))};function l7(e,t,r,n){return n?!!(t==="innerHTML"||t==="textContent"||t in e&&id.test(t)&&we(r)):t==="spellcheck"||t==="draggable"||t==="translate"||t==="form"||t==="list"&&e.tagName==="INPUT"||t==="type"&&e.tagName==="TEXTAREA"||id.test(t)&&Xe(r)?!1:t in e}const Wr="transition",ca="animation",Zo=(e,{slots:t})=>tr(jp,u7(e),t);Zo.displayName="Transition";const ym={name:String,type:String,css:{type:Boolean,default:!0},duration:[String,Number,Object],enterFromClass:String,enterActiveClass:String,enterToClass:String,appearFromClass:String,appearActiveClass:String,appearToClass:String,leaveFromClass:String,leaveActiveClass:String,leaveToClass:String};Zo.props=mt({},jp.props,ym);const Nn=(e,t=[])=>{ve(e)?e.forEach(r=>r(...t)):e&&e(...t)},ad=e=>e?ve(e)?e.some(t=>t.length>1):e.length>1:!1;function u7(e){const t={};for(const j in e)j in ym||(t[j]=e[j]);if(e.css===!1)return t;const{name:r="v",type:n,duration:i,enterFromClass:a=`${r}-enter-from`,enterActiveClass:s=`${r}-enter-active`,enterToClass:o=`${r}-enter-to`,appearFromClass:l=a,appearActiveClass:u=s,appearToClass:c=o,leaveFromClass:d=`${r}-leave-from`,leaveActiveClass:p=`${r}-leave-active`,leaveToClass:g=`${r}-leave-to`}=e,v=c7(i),E=v&&v[0],R=v&&v[1],{onBeforeEnter:_,onEnter:b,onEnterCancelled:T,onLeave:O,onLeaveCancelled:N,onBeforeAppear:B=_,onAppear:F=b,onAppearCancelled:P=T}=t,q=(j,oe,W)=>{Cn(j,oe?c:o),Cn(j,oe?u:s),W&&W()},re=(j,oe)=>{j._isLeaving=!1,Cn(j,d),Cn(j,g),Cn(j,p),oe&&oe()},ie=j=>(oe,W)=>{const Ee=j?F:b,I=()=>q(oe,j,W);Nn(Ee,[oe,I]),sd(()=>{Cn(oe,j?l:a),Vr(oe,j?c:o),ad(Ee)||od(oe,n,E,I)})};return mt(t,{onBeforeEnter(j){Nn(_,[j]),Vr(j,a),Vr(j,s)},onBeforeAppear(j){Nn(B,[j]),Vr(j,l),Vr(j,u)},onEnter:ie(!1),onAppear:ie(!0),onLeave(j,oe){j._isLeaving=!0;const W=()=>re(j,oe);Vr(j,d),h7(),Vr(j,p),sd(()=>{j._isLeaving&&(Cn(j,d),Vr(j,g),ad(O)||od(j,n,R,W))}),Nn(O,[j,W])},onEnterCancelled(j){q(j,!1),Nn(T,[j])},onAppearCancelled(j){q(j,!0),Nn(P,[j])},onLeaveCancelled(j){re(j),Nn(N,[j])}})}function c7(e){if(e==null)return null;if(He(e))return[P0(e.enter),P0(e.leave)];{const t=P0(e);return[t,t]}}function P0(e){return pp(e)}function Vr(e,t){t.split(/\s+/).forEach(r=>r&&e.classList.add(r)),(e._vtc||(e._vtc=new Set)).add(t)}function Cn(e,t){t.split(/\s+/).forEach(n=>n&&e.classList.remove(n));const{_vtc:r}=e;r&&(r.delete(t),r.size||(e._vtc=void 0))}function sd(e){requestAnimationFrame(()=>{requestAnimationFrame(e)})}let f7=0;function od(e,t,r,n){const i=e._endId=++f7,a=()=>{i===e._endId&&n()};if(r)return setTimeout(a,r);const{type:s,timeout:o,propCount:l}=d7(e,t);if(!s)return n();const u=s+"end";let c=0;const d=()=>{e.removeEventListener(u,p),a()},p=g=>{g.target===e&&++c>=l&&d()};setTimeout(()=>{c(r[v]||"").split(", "),i=n(`${Wr}Delay`),a=n(`${Wr}Duration`),s=ld(i,a),o=n(`${ca}Delay`),l=n(`${ca}Duration`),u=ld(o,l);let c=null,d=0,p=0;t===Wr?s>0&&(c=Wr,d=s,p=a.length):t===ca?u>0&&(c=ca,d=u,p=l.length):(d=Math.max(s,u),c=d>0?s>u?Wr:ca:null,p=c?c===Wr?a.length:l.length:0);const g=c===Wr&&/\b(transform|all)(,|$)/.test(n(`${Wr}Property`).toString());return{type:c,timeout:d,propCount:p,hasTransform:g}}function ld(e,t){for(;e.lengthud(r)+ud(e[n])))}function ud(e){return Number(e.slice(0,-1).replace(",","."))*1e3}function h7(){return document.body.offsetHeight}const mo=e=>{const t=e.props["onUpdate:modelValue"]||!1;return ve(t)?r=>_i(t,r):t};function p7(e){e.target.composing=!0}function cd(e){const t=e.target;t.composing&&(t.composing=!1,t.dispatchEvent(new Event("input")))}const RP={created(e,{modifiers:{lazy:t,trim:r,number:n}},i){e._assign=mo(i);const a=n||i.props&&i.props.type==="number";$n(e,t?"change":"input",s=>{if(s.target.composing)return;let o=e.value;r&&(o=o.trim()),a&&(o=so(o)),e._assign(o)}),r&&$n(e,"change",()=>{e.value=e.value.trim()}),t||($n(e,"compositionstart",p7),$n(e,"compositionend",cd),$n(e,"change",cd))},mounted(e,{value:t}){e.value=t??""},beforeUpdate(e,{value:t,modifiers:{lazy:r,trim:n,number:i}},a){if(e._assign=mo(a),e.composing||document.activeElement===e&&e.type!=="range"&&(r||n&&e.value.trim()===t||(i||e.type==="number")&&so(e.value)===t))return;const s=t??"";e.value!==s&&(e.value=s)}},OP={deep:!0,created(e,{value:t,modifiers:{number:r}},n){const i=Fo(t);$n(e,"change",()=>{const a=Array.prototype.filter.call(e.options,s=>s.selected).map(s=>r?so(go(s)):go(s));e._assign(e.multiple?i?new Set(a):a:a[0])}),e._assign=mo(n)},mounted(e,{value:t}){fd(e,t)},beforeUpdate(e,t,r){e._assign=mo(r)},updated(e,{value:t}){fd(e,t)}};function fd(e,t){const r=e.multiple;if(!(r&&!ve(t)&&!Fo(t))){for(let n=0,i=e.options.length;n-1:a.selected=t.has(s);else if($o(go(a),t)){e.selectedIndex!==n&&(e.selectedIndex=n);return}}!r&&e.selectedIndex!==-1&&(e.selectedIndex=-1)}}function go(e){return"_value"in e?e._value:e.value}const m7=["ctrl","shift","alt","meta"],g7={stop:e=>e.stopPropagation(),prevent:e=>e.preventDefault(),self:e=>e.target!==e.currentTarget,ctrl:e=>!e.ctrlKey,shift:e=>!e.shiftKey,alt:e=>!e.altKey,meta:e=>!e.metaKey,left:e=>"button"in e&&e.button!==0,middle:e=>"button"in e&&e.button!==1,right:e=>"button"in e&&e.button!==2,exact:(e,t)=>m7.some(r=>e[`${r}Key`]&&!t.includes(r))},MP=(e,t)=>(r,...n)=>{for(let i=0;ir=>{if(!("key"in r))return;const n=ei(r.key);if(t.some(i=>i===n||y7[i]===n))return e(r)},CP={beforeMount(e,{value:t},{transition:r}){e._vod=e.style.display==="none"?"":e.style.display,r&&t?r.beforeEnter(e):fa(e,t)},mounted(e,{value:t},{transition:r}){r&&t&&r.enter(e)},updated(e,{value:t,oldValue:r},{transition:n}){!t!=!r&&(n?t?(n.beforeEnter(e),fa(e,!0),n.enter(e)):n.leave(e,()=>{fa(e,!1)}):fa(e,t))},beforeUnmount(e,{value:t}){fa(e,t)}};function fa(e,t){e.style.display=t?e._vod:"none"}const vm=mt({patchProp:o7},V6);let ka,dd=!1;function v7(){return ka||(ka=O6(vm))}function b7(){return ka=dd?ka:M6(vm),dd=!0,ka}const _7=(...e)=>{const t=v7().createApp(...e),{mount:r}=t;return t.mount=n=>{const i=bm(n);if(!i)return;const a=t._component;!we(a)&&!a.render&&!a.template&&(a.template=i.innerHTML),i.innerHTML="";const s=r(i,!1,i instanceof SVGElement);return i instanceof Element&&(i.removeAttribute("v-cloak"),i.setAttribute("data-v-app","")),s},t},w7=(...e)=>{const t=b7().createApp(...e),{mount:r}=t;return t.mount=n=>{const i=bm(n);if(i)return r(i,!0,i instanceof SVGElement)},t};function bm(e){return Xe(e)?document.querySelector(e):e}const S7=/"(?:_|\\u0{2}5[Ff]){2}(?:p|\\u0{2}70)(?:r|\\u0{2}72)(?:o|\\u0{2}6[Ff])(?:t|\\u0{2}74)(?:o|\\u0{2}6[Ff])(?:_|\\u0{2}5[Ff]){2}"\s*:/,E7=/"(?:c|\\u0063)(?:o|\\u006[Ff])(?:n|\\u006[Ee])(?:s|\\u0073)(?:t|\\u0074)(?:r|\\u0072)(?:u|\\u0075)(?:c|\\u0063)(?:t|\\u0074)(?:o|\\u006[Ff])(?:r|\\u0072)"\s*:/,x7=/^\s*["[{]|^\s*-?\d[\d.]{0,14}\s*$/;function T7(e,t){if(e!=="__proto__"&&!(e==="constructor"&&t&&typeof t=="object"&&"prototype"in t))return t}function k7(e,t={}){if(typeof e!="string")return e;const r=e.toLowerCase().trim();if(r==="true")return!0;if(r==="false")return!1;if(r==="null")return null;if(r==="nan")return Number.NaN;if(r==="infinity")return Number.POSITIVE_INFINITY;if(r!=="undefined"){if(!x7.test(e)){if(t.strict)throw new SyntaxError("Invalid JSON");return e}try{return S7.test(e)||E7.test(e)?JSON.parse(e,T7):JSON.parse(e)}catch(n){if(t.strict)throw n;return e}}}const A7=/#/g,R7=/&/g,O7=/=/g,_m=/\+/g,M7=/%5e/gi,N7=/%60/gi,C7=/%7c/gi,I7=/%20/gi;function D7(e){return encodeURI(""+e).replace(C7,"|")}function Fl(e){return D7(typeof e=="string"?e:JSON.stringify(e)).replace(_m,"%2B").replace(I7,"+").replace(A7,"%23").replace(R7,"%26").replace(N7,"`").replace(M7,"^")}function L0(e){return Fl(e).replace(O7,"%3D")}function wm(e=""){try{return decodeURIComponent(""+e)}catch{return""+e}}function B7(e){return wm(e.replace(_m," "))}function P7(e=""){const t={};e[0]==="?"&&(e=e.slice(1));for(const r of e.split("&")){const n=r.match(/([^=]+)=?(.*)/)||[];if(n.length<2)continue;const i=wm(n[1]);if(i==="__proto__"||i==="constructor")continue;const a=B7(n[2]||"");typeof t[i]<"u"?Array.isArray(t[i])?t[i].push(a):t[i]=[t[i],a]:t[i]=a}return t}function L7(e,t){return(typeof t=="number"||typeof t=="boolean")&&(t=String(t)),t?Array.isArray(t)?t.map(r=>`${L0(e)}=${Fl(r)}`).join("&"):`${L0(e)}=${Fl(t)}`:L0(e)}function z7(e){return Object.keys(e).filter(t=>e[t]!==void 0).map(t=>L7(t,e[t])).join("&")}const $7=/^\w{2,}:([/\\]{1,2})/,F7=/^\w{2,}:([/\\]{2})?/,H7=/^[/\\]{2}[^/\\]+/;function Kn(e,t={}){return typeof t=="boolean"&&(t={acceptRelative:t}),t.strict?$7.test(e):F7.test(e)||(t.acceptRelative?H7.test(e):!1)}const U7=/\/$|\/\?/;function Hl(e="",t=!1){return t?U7.test(e):e.endsWith("/")}function Sm(e="",t=!1){if(!t)return(Hl(e)?e.slice(0,-1):e)||"/";if(!Hl(e,!0))return e||"/";const[r,...n]=e.split("?");return(r.slice(0,-1)||"/")+(n.length>0?`?${n.join("?")}`:"")}function j7(e="",t=!1){if(!t)return e.endsWith("/")?e:e+"/";if(Hl(e,!0))return e||"/";const[r,...n]=e.split("?");return r+"/"+(n.length>0?`?${n.join("?")}`:"")}function Em(e=""){return e.startsWith("/")}function q7(e=""){return(Em(e)?e.slice(1):e)||"/"}function G7(e=""){return Em(e)?e:"/"+e}function Y7(e,t){if(xm(t)||Kn(e))return e;const r=Sm(t);return e.startsWith(r)?e:ta(r,e)}function hd(e,t){if(xm(t))return e;const r=Sm(t);if(!e.startsWith(r))return e;const n=e.slice(r.length);return n[0]==="/"?n:"/"+n}function W7(e,t){const r=cs(e),n={...P7(r.search),...t};return r.search=z7(n),K7(r)}function xm(e){return!e||e==="/"}function V7(e){return e&&e!=="/"}function ta(e,...t){let r=e||"";for(const n of t.filter(i=>V7(i)))r=r?j7(r)+q7(n):n;return r}function cs(e="",t){if(!Kn(e,{acceptRelative:!0}))return t?cs(t+e):pd(e);const[r="",n,i=""]=(e.replace(/\\/g,"/").match(/([^/:]+:)?\/\/([^/@]+@)?(.*)/)||[]).splice(1),[a="",s=""]=(i.match(/([^#/?]*)(.*)?/)||[]).splice(1),{pathname:o,search:l,hash:u}=pd(s.replace(/\/(?=[A-Za-z]:)/,""));return{protocol:r,auth:n?n.slice(0,Math.max(0,n.length-1)):"",host:a,pathname:o,search:l,hash:u}}function pd(e=""){const[t="",r="",n=""]=(e.match(/([^#?]*)(\?[^#]*)?(#.*)?/)||[]).splice(1);return{pathname:t,search:r,hash:n}}function K7(e){const t=e.pathname+(e.search?(e.search.startsWith("?")?"":"?")+e.search:"")+e.hash;return e.protocol?e.protocol+"//"+(e.auth?e.auth+"@":"")+e.host+t:t}class X7 extends Error{constructor(){super(...arguments),this.name="FetchError"}}function J7(e,t,r){let n="";t&&(n=t.message),e&&r?n=`${n} (${r.status} ${r.statusText} (${e.toString()}))`:e&&(n=`${n} (${e.toString()})`);const i=new X7(n);return Object.defineProperty(i,"request",{get(){return e}}),Object.defineProperty(i,"response",{get(){return r}}),Object.defineProperty(i,"data",{get(){return r&&r._data}}),Object.defineProperty(i,"status",{get(){return r&&r.status}}),Object.defineProperty(i,"statusText",{get(){return r&&r.statusText}}),Object.defineProperty(i,"statusCode",{get(){return r&&r.status}}),Object.defineProperty(i,"statusMessage",{get(){return r&&r.statusText}}),i}const Z7=new Set(Object.freeze(["PATCH","POST","PUT","DELETE"]));function md(e="GET"){return Z7.has(e.toUpperCase())}function Q7(e){if(e===void 0)return!1;const t=typeof e;return t==="string"||t==="number"||t==="boolean"||t===null?!0:t!=="object"?!1:Array.isArray(e)?!0:e.constructor&&e.constructor.name==="Object"||typeof e.toJSON=="function"}const ey=new Set(["image/svg","application/xml","application/xhtml","application/html"]),ty=/^application\/(?:[\w!#$%&*.^`~-]*\+)?json(;.+)?$/i;function ry(e=""){if(!e)return"json";const t=e.split(";").shift()||"";return ty.test(t)?"json":ey.has(t)||t.startsWith("text/")?"text":"blob"}const ny=new Set([408,409,425,429,500,502,503,504]);function Tm(e){const{fetch:t,Headers:r}=e;function n(s){const o=s.error&&s.error.name==="AbortError"||!1;if(s.options.retry!==!1&&!o){let u;typeof s.options.retry=="number"?u=s.options.retry:u=md(s.options.method)?0:1;const c=s.response&&s.response.status||500;if(u>0&&ny.has(c))return i(s.request,{...s.options,retry:u-1})}const l=J7(s.request,s.error,s.response);throw Error.captureStackTrace&&Error.captureStackTrace(l,i),l}const i=async function(o,l={}){const u={request:o,options:{...e.defaults,...l},response:void 0,error:void 0};u.options.onRequest&&await u.options.onRequest(u),typeof u.request=="string"&&(u.options.baseURL&&(u.request=Y7(u.request,u.options.baseURL)),(u.options.query||u.options.params)&&(u.request=W7(u.request,{...u.options.params,...u.options.query})),u.options.body&&md(u.options.method)&&Q7(u.options.body)&&(u.options.body=typeof u.options.body=="string"?u.options.body:JSON.stringify(u.options.body),u.options.headers=new r(u.options.headers),u.options.headers.has("content-type")||u.options.headers.set("content-type","application/json"),u.options.headers.has("accept")||u.options.headers.set("accept","application/json"))),u.response=await t(u.request,u.options).catch(async d=>(u.error=d,u.options.onRequestError&&await u.options.onRequestError(u),n(u)));const c=(u.options.parseResponse?"json":u.options.responseType)||ry(u.response.headers.get("content-type")||"");if(c==="json"){const d=await u.response.text(),p=u.options.parseResponse||k7;u.response._data=p(d)}else c==="stream"?u.response._data=u.response.body:u.response._data=await u.response[c]();return u.options.onResponse&&await u.options.onResponse(u),u.response.status>=400&&u.response.status<600?(u.options.onResponseError&&await u.options.onResponseError(u),n(u)):u.response},a=function(o,l){return i(o,l).then(u=>u._data)};return a.raw=i,a.native=t,a.create=(s={})=>Tm({...e,defaults:{...e.defaults,...s}}),a}const km=function(){if(typeof globalThis<"u")return globalThis;if(typeof self<"u")return self;if(typeof window<"u")return window;if(typeof global<"u")return global;throw new Error("unable to locate global object")}(),iy=km.fetch||(()=>Promise.reject(new Error("[ofetch] global.fetch is not supported!"))),ay=km.Headers,sy=Tm({fetch:iy,Headers:ay}),oy=sy,ly=()=>{var e;return((e=window==null?void 0:window.__NUXT__)==null?void 0:e.config)||{}},yo=ly().app,uy=()=>yo.baseURL,cy=()=>yo.buildAssetsDir,fy=(...e)=>ta(Am(),cy(),...e),Am=(...e)=>{const t=yo.cdnURL||yo.baseURL;return e.length?ta(t,...e):t};globalThis.__buildAssetsURL=fy,globalThis.__publicAssetsURL=Am;function Ul(e,t={},r){for(const n in e){const i=e[n],a=r?`${r}:${n}`:n;typeof i=="object"&&i!==null?Ul(i,t,a):typeof i=="function"&&(t[a]=i)}return t}function dy(e,t){return e.reduce((r,n)=>r.then(()=>n.apply(void 0,t)),Promise.resolve())}function hy(e,t){return Promise.all(e.map(r=>r.apply(void 0,t)))}function z0(e,t){for(const r of e)r(t)}class py{constructor(){this._hooks={},this._before=void 0,this._after=void 0,this._deprecatedMessages=void 0,this._deprecatedHooks={},this.hook=this.hook.bind(this),this.callHook=this.callHook.bind(this),this.callHookWith=this.callHookWith.bind(this)}hook(t,r,n={}){if(!t||typeof r!="function")return()=>{};const i=t;let a;for(;this._deprecatedHooks[t];)a=this._deprecatedHooks[t],t=a.to;if(a&&!n.allowDeprecated){let s=a.message;s||(s=`${i} hook has been deprecated`+(a.to?`, please use ${a.to}`:"")),this._deprecatedMessages||(this._deprecatedMessages=new Set),this._deprecatedMessages.has(s)||(console.warn(s),this._deprecatedMessages.add(s))}return this._hooks[t]=this._hooks[t]||[],this._hooks[t].push(r),()=>{r&&(this.removeHook(t,r),r=void 0)}}hookOnce(t,r){let n,i=(...a)=>(typeof n=="function"&&n(),n=void 0,i=void 0,r(...a));return n=this.hook(t,i),n}removeHook(t,r){if(this._hooks[t]){const n=this._hooks[t].indexOf(r);n!==-1&&this._hooks[t].splice(n,1),this._hooks[t].length===0&&delete this._hooks[t]}}deprecateHook(t,r){this._deprecatedHooks[t]=typeof r=="string"?{to:r}:r;const n=this._hooks[t]||[];this._hooks[t]=void 0;for(const i of n)this.hook(t,i)}deprecateHooks(t){Object.assign(this._deprecatedHooks,t);for(const r in t)this.deprecateHook(r,t[r])}addHooks(t){const r=Ul(t),n=Object.keys(r).map(i=>this.hook(i,r[i]));return()=>{for(const i of n.splice(0,n.length))i()}}removeHooks(t){const r=Ul(t);for(const n in r)this.removeHook(n,r[n])}callHook(t,...r){return this.callHookWith(dy,t,...r)}callHookParallel(t,...r){return this.callHookWith(hy,t,...r)}callHookWith(t,r,...n){const i=this._before||this._after?{name:r,args:n,context:{}}:void 0;this._before&&z0(this._before,i);const a=t(this._hooks[r]||[],n);return a instanceof Promise?a.finally(()=>{this._after&&i&&z0(this._after,i)}):(this._after&&i&&z0(this._after,i),a)}beforeEach(t){return this._before=this._before||[],this._before.push(t),()=>{const r=this._before.indexOf(t);r!==-1&&this._before.splice(r,1)}}afterEach(t){return this._after=this._after||[],this._after.push(t),()=>{const r=this._after.indexOf(t);r!==-1&&this._after.splice(r,1)}}}function Rm(){return new py}function my(){let e,t=!1;const r=n=>{if(e&&e!==n)throw new Error("Context conflict")};return{use:()=>{if(e===void 0)throw new Error("Context is not available");return e},tryUse:()=>e,set:(n,i)=>{i||r(n),e=n,t=!0},unset:()=>{e=void 0,t=!1},call:(n,i)=>{r(n),e=n;try{return i()}finally{t||(e=void 0)}},async callAsync(n,i){e=n;const a=()=>{e=n},s=()=>e===n?a:void 0;jl.add(s);try{const o=i();return t||(e=void 0),await o}finally{jl.delete(s)}}}}function gy(){const e={};return{get(t){return e[t]||(e[t]=my()),e[t],e[t]}}}const vo=typeof globalThis<"u"?globalThis:typeof self<"u"?self:typeof global<"u"?global:typeof window<"u"?window:{},gd="__unctx__",yy=vo[gd]||(vo[gd]=gy()),vy=e=>yy.get(e),yd="__unctx_async_handlers__",jl=vo[yd]||(vo[yd]=new Set);function ql(e){const t=[];for(const i of jl){const a=i();a&&t.push(a)}const r=()=>{for(const i of t)i()};let n=e();return n&&typeof n=="object"&&"catch"in n&&(n=n.catch(i=>{throw r(),i})),[n,r]}const Om=vy("nuxt-app"),by="__nuxt_plugin";function _y(e){let t=0;const r={provide:void 0,globalName:"nuxt",payload:pr({data:{},state:{},_errors:{},...window.__NUXT__}),static:{data:{}},isHydrating:!0,deferHydration(){if(!r.isHydrating)return()=>{};t++;let a=!1;return()=>{if(!a&&(a=!0,t--,t===0))return r.isHydrating=!1,r.callHook("app:suspense:resolve")}},_asyncDataPromises:{},_asyncData:{},...e};r.hooks=Rm(),r.hook=r.hooks.hook,r.callHook=r.hooks.callHook,r.provide=(a,s)=>{const o="$"+a;Ms(r,o,s),Ms(r.vueApp.config.globalProperties,o,s)},Ms(r.vueApp,"$nuxt",r),Ms(r.vueApp.config.globalProperties,"$nuxt",r),window.addEventListener("nuxt.preloadError",a=>{r.callHook("app:chunkError",{error:a.payload})});const n=pr(r.payload.config),i=new Proxy(n,{get(a,s){return s==="public"?a.public:a[s]??a.public[s]},set(a,s,o){return s==="public"||s==="app"?!1:(a[s]=o,a.public[s]=o,!0)}});return r.provide("config",i),r}async function wy(e,t){if(typeof t!="function")return;const{provide:r}=await Ar(e,t,[e])||{};if(r&&typeof r=="object")for(const n in r)e.provide(n,r[n])}async function Sy(e,t){for(const r of t)await wy(e,r)}function Ey(e){return e.map(r=>typeof r!="function"?null:r.length>1?n=>r(n,n.provide):r).filter(Boolean)}function At(e){return e[by]=!0,e}function Ar(e,t,r){const n=()=>r?t(...r):t();return Om.set(e),n()}function Oe(){const e=Om.tryUse();if(!e){const t=An();if(!t)throw new Error("nuxt instance unavailable");return t.appContext.app.$nuxt}return e}function Qo(){return Oe().$config}function Ms(e,t,r){Object.defineProperty(e,t,{get:()=>r})}const $0={},xy=At(e=>{for(const t in $0)e.vueApp.component(t,$0[t]),e.vueApp.component("Lazy"+t,$0[t])});function Ty(e){return Array.isArray(e)?e:[e]}const ky=["title","script","style","noscript"],fc=["base","meta","link","style","script","noscript"],Ay=["title","titleTemplate","base","htmlAttrs","bodyAttrs","meta","link","style","script","noscript"],Ry=["base","title","titleTemplate","bodyAttrs","htmlAttrs"],Oy=["tagPosition","tagPriority","tagDuplicateStrategy"];function Mm(e,t){const{props:r,tag:n}=e;if(Ry.includes(n))return n;if(n==="link"&&r.rel==="canonical")return"canonical";if(r.charset)return"charset";const i=["id"];n==="meta"&&i.push("name","property","http-equiv");for(const a of i)if(typeof r[a]<"u"){const s=String(r[a]);return t&&!t(s)?!1:`${n}:${a}:${s}`}return!1}const My=e=>{e=e||{};const t=e.dedupeKeys||["hid","vmid","key"];return{hooks:{"tag:normalise":function({tag:r}){t.forEach(i=>{r.props[i]&&(r.key=r.props[i],delete r.props[i])});const n=r.key?`${r.tag}:${r.key}`:Mm(r);n&&(r._d=n)},"tags:resolve":function(r){const n={};r.tags.forEach(i=>{let a=i._d||i._p;const s=n[a];if(s){let o=i==null?void 0:i.tagDuplicateStrategy;if(!o&&(i.tag==="htmlAttrs"||i.tag==="bodyAttrs")&&(o="merge"),o==="merge"){const u=s.props;["class","style"].forEach(c=>{i.props[c]&&u[c]&&(c==="style"&&!u[c].endsWith(";")&&(u[c]+=";"),i.props[c]=`${u[c]} ${i.props[c]}`)}),n[a].props={...u,...i.props};return}else i._e===s._e&&(a=i._d=`${a}:${i._p}`);const l=Object.keys(i.props).length;if((l===0||l===1&&typeof i.props["data-h-key"]<"u")&&!i.children){delete n[a];return}}n[a]=i}),r.tags=Object.values(n)}}}};function Nm(e){let t=9;for(let r=0;r>>9)+65536).toString(16).substring(1,8).toLowerCase()}const Ns=(e,t)=>{const{tag:r,$el:n}=e;n&&(Object.entries(r.props).forEach(([i,a])=>{a=String(a);const s=`attr:${i}`;if(i==="class"){if(!a)return;for(const o of a.split(" ")){const l=`${s}:${o}`;t&&t(e,l,()=>n.classList.remove(o)),n.classList.contains(o)||n.classList.add(o)}return}t&&!i.startsWith("data-h-")&&t(e,s,()=>n.removeAttribute(i)),n.getAttribute(i)!==a&&n.setAttribute(i,a)}),ky.includes(r.tag)&&n.innerHTML!==(r.children||"")&&(n.innerHTML=r.children||""))};async function Cm(e,t={}){var d,p;const r={shouldRender:!0};if(await e.hooks.callHook("dom:beforeRender",r),!r.shouldRender)return;const n=t.document||window.document,i=e._popSideEffectQueue();e.headEntries().map(g=>g._sde).forEach(g=>{Object.entries(g).forEach(([v,E])=>{i[v]=E})});const a=async g=>{const v=e.headEntries().find(R=>R._i===g._e),E={renderId:g._d||Nm(JSON.stringify({...g,_e:void 0,_p:void 0})),$el:null,shouldRender:!0,tag:g,entry:v,staleSideEffects:i};return await e.hooks.callHook("dom:beforeRenderTag",E),E},s=[],o={body:[],head:[]},l=(g,v,E)=>{v=`${g.renderId}:${v}`,g.entry&&(g.entry._sde[v]=E),delete i[v]},u=g=>{e._elMap[g.renderId]=g.$el,s.push(g),l(g,"el",()=>{var v;(v=g.$el)==null||v.remove(),delete e._elMap[g.renderId]})};for(const g of await e.resolveTags()){const v=await a(g);if(!v.shouldRender)continue;const{tag:E}=v;if(E.tag==="title"){n.title=E.children||"",s.push(v);continue}if(E.tag==="htmlAttrs"||E.tag==="bodyAttrs"){v.$el=n[E.tag==="htmlAttrs"?"documentElement":"body"],Ns(v,l),s.push(v);continue}if(v.$el=e._elMap[v.renderId],!v.$el&&E._hash&&(v.$el=n.querySelector(`${(d=E.tagPosition)!=null&&d.startsWith("body")?"body":"head"} > ${E.tag}[data-h-${E._hash}]`)),v.$el){v.tag._d&&Ns(v),u(v);continue}v.$el=n.createElement(E.tag),Ns(v),o[(p=E.tagPosition)!=null&&p.startsWith("body")?"body":"head"].push(v)}const c={bodyClose:void 0,bodyOpen:void 0,head:void 0};Object.entries(o).forEach(([g,v])=>{var R;if(!v.length)return;const E=(R=n==null?void 0:n[g])==null?void 0:R.children;if(E){for(const _ of[...E].reverse()){const b=_.tagName.toLowerCase();if(!fc.includes(b))continue;const T=Mm({tag:b,props:_.getAttributeNames().reduce((N,B)=>({...N,[B]:_.getAttribute(B)}),{})}),O=v.findIndex(N=>{var B;return N&&(N.tag._d===T||((B=_.isEqualNode)==null?void 0:B.call(_,N.$el)))});if(O!==-1){const N=v[O];N.$el=_,Ns(N),u(N),delete v[O]}}v.forEach(_=>{const b=_.tag.tagPosition||"head";c[b]=c[b]||n.createDocumentFragment(),c[b].appendChild(_.$el),u(_)})}}),c.head&&n.head.appendChild(c.head),c.bodyOpen&&n.body.insertBefore(c.bodyOpen,n.body.firstChild),c.bodyClose&&n.body.appendChild(c.bodyClose);for(const g of s)await e.hooks.callHook("dom:renderTag",g);Object.values(i).forEach(g=>g())}let F0=null;async function Im(e,t={}){function r(){return F0=null,Cm(e,t)}const n=t.delayFn||(i=>setTimeout(i,10));return F0=F0||new Promise(i=>n(()=>i(r())))}const Ny=e=>({hooks:{"entries:updated":function(t){if(typeof(e==null?void 0:e.document)>"u"&&typeof window>"u")return;let r=e==null?void 0:e.delayFn;!r&&typeof requestAnimationFrame<"u"&&(r=requestAnimationFrame),Im(t,{document:(e==null?void 0:e.document)||window.document,delayFn:r})}}}),vd={critical:2,high:9,low:12,base:-1,title:1,meta:10};function bd(e){if(typeof e.tagPriority=="number")return e.tagPriority;if(e.tag==="meta"){if(e.props.charset)return-2;if(e.props["http-equiv"]==="content-security-policy")return 0}const t=e.tagPriority||e.tag;return t in vd?vd[t]:10}const Cy=[{prefix:"before:",offset:-1},{prefix:"after:",offset:1}];function Iy(){return{hooks:{"tags:resolve":e=>{const t=r=>{var n;return(n=e.tags.find(i=>i._d===r))==null?void 0:n._p};for(const{prefix:r,offset:n}of Cy)for(const i of e.tags.filter(a=>typeof a.tagPriority=="string"&&a.tagPriority.startsWith(r))){const a=t(i.tagPriority.replace(r,""));typeof a<"u"&&(i._p=a+n)}e.tags.sort((r,n)=>r._p-n._p).sort((r,n)=>bd(r)-bd(n))}}}}const _d=(e,t)=>e==null?t||null:typeof e=="function"?e(t):e.replace("%s",t??""),Dy=()=>({hooks:{"tags:resolve":e=>{const{tags:t}=e;let r=t.findIndex(i=>i.tag==="titleTemplate");const n=t.findIndex(i=>i.tag==="title");if(n!==-1&&r!==-1){const i=_d(t[r].children,t[n].children);i!==null?t[n].children=i||t[n].children:delete t[n]}else if(r!==-1){const i=_d(t[r].children);i!==null&&(t[r].children=i,t[r].tag="title",r=-1)}r!==-1&&delete t[r],e.tags=t.filter(Boolean)}}}),By=()=>({hooks:{"tag:normalise":function({tag:e}){typeof e.props.body<"u"&&(e.tagPosition="bodyClose",delete e.props.body)}}}),Py=typeof window<"u",Ly=()=>({hooks:{"tag:normalise":e=>{var i,a;const{tag:t,entry:r}=e,n=typeof t.props._dynamic<"u";!fc.includes(t.tag)||!t.key||(t._hash=Nm(JSON.stringify({tag:t.tag,key:t.key})),!(Py||(a=(i=Bm())==null?void 0:i.resolvedOptions)!=null&&a.document)&&(r._m==="server"||n)&&(t.props[`data-h-${t._hash}`]=""))},"tags:resolve":e=>{e.tags=e.tags.map(t=>(delete t.props._dynamic,t))}}}),wd=["script","link","bodyAttrs"],zy=()=>{const e=(t,r)=>{const n={},i={};Object.entries(r.props).forEach(([s,o])=>{s.startsWith("on")&&typeof o=="function"?i[s]=o:n[s]=o});let a;return t==="dom"&&r.tag==="script"&&typeof n.src=="string"&&typeof i.onload<"u"&&(a=n.src,delete n.src),{props:n,eventHandlers:i,delayedSrc:a}};return{hooks:{"ssr:render":function(t){t.tags=t.tags.map(r=>(!wd.includes(r.tag)||!Object.entries(r.props).find(([n,i])=>n.startsWith("on")&&typeof i=="function")||(r.props=e("ssr",r).props),r))},"dom:beforeRenderTag":function(t){if(!wd.includes(t.tag.tag)||!Object.entries(t.tag.props).find(([a,s])=>a.startsWith("on")&&typeof s=="function"))return;const{props:r,eventHandlers:n,delayedSrc:i}=e("dom",t.tag);Object.keys(n).length&&(t.tag.props=r,t.tag._eventHandlers=n,t.tag._delayedSrc=i)},"dom:renderTag":function(t){const r=t.$el;if(!t.tag._eventHandlers||!r)return;const n=t.tag.tag==="bodyAttrs"&&typeof window<"u"?window:r;Object.entries(t.tag._eventHandlers).forEach(([i,a])=>{const s=`${t.tag._d||t.tag._p}:${i}`,o=i.slice(2).toLowerCase(),l=`data-h-${o}`;if(delete t.staleSideEffects[s],r.hasAttribute(l))return;const u=a;r.setAttribute(l,""),n.addEventListener(o,u),t.entry&&(t.entry._sde[s]=()=>{n.removeEventListener(o,u),r.removeAttribute(l)})}),t.tag._delayedSrc&&r.setAttribute("src",t.tag._delayedSrc)}}}};let Dm;const $y=e=>Dm=e,Bm=()=>Dm;async function Fy(e,t){const r={tag:e,props:{}};return e==="title"||e==="titleTemplate"?(r.children=t instanceof Promise?await t:t,r):(r.props=await Hy({...t}),["children","innerHtml","innerHTML"].forEach(n=>{typeof r.props[n]<"u"&&(r.children=r.props[n],typeof r.children=="object"&&(r.children=JSON.stringify(r.children)),delete r.props[n])}),Object.keys(r.props).filter(n=>Oy.includes(n)).forEach(n=>{r[n]=r.props[n],delete r.props[n]}),typeof r.props.class=="object"&&!Array.isArray(r.props.class)&&(r.props.class=Object.keys(r.props.class).filter(n=>r.props.class[n])),Array.isArray(r.props.class)&&(r.props.class=r.props.class.join(" ")),r.props.content&&Array.isArray(r.props.content)?r.props.content.map((n,i)=>{const a={...r,props:{...r.props}};return a.props.content=n,a.key=`${r.props.name||r.props.property}:${i}`,a}):r)}async function Hy(e){for(const t of Object.keys(e))e[t]instanceof Promise&&(e[t]=await e[t]),String(e[t])==="true"?e[t]="":String(e[t])==="false"&&delete e[t];return e}const Uy=10;async function jy(e){const t=[];return Object.entries(e.resolvedInput||e.input).filter(([r,n])=>typeof n<"u"&&Ay.includes(r)).forEach(([r,n])=>{const i=Ty(n);t.push(...i.map(a=>Fy(r,a)).flat())}),(await Promise.all(t)).flat().map((r,n)=>(r._e=e._i,r._p=(e._i<[My(),Iy(),Dy(),Ly(),zy(),By()],Gy=(e={})=>[Ny({document:e==null?void 0:e.document,delayFn:e==null?void 0:e.domDelayFn})];function Yy(e={}){const t=Wy({...e,plugins:[...Gy(e),...(e==null?void 0:e.plugins)||[]]});return $y(t),t}function Wy(e={}){let t=[],r={},n=0;const i=Rm();e!=null&&e.hooks&&i.addHooks(e.hooks),e.plugins=[...qy(),...(e==null?void 0:e.plugins)||[]],e.plugins.forEach(o=>o.hooks&&i.addHooks(o.hooks));const a=()=>i.callHook("entries:updated",s),s={resolvedOptions:e,headEntries(){return t},get hooks(){return i},use(o){o.hooks&&i.addHooks(o.hooks)},push(o,l){const u={_i:n++,input:o,_sde:{}};return l!=null&&l.mode&&(u._m=l==null?void 0:l.mode),t.push(u),a(),{dispose(){t=t.filter(c=>c._i!==u._i?!0:(r={...r,...c._sde||{}},c._sde={},a(),!1))},patch(c){t=t.map(d=>(d._i===u._i&&(u.input=d.input=c,a()),d))}}},async resolveTags(){const o={tags:[],entries:[...t]};await i.callHook("entries:resolve",o);for(const l of o.entries)for(const u of await jy(l)){const c={tag:u,entry:l};await i.callHook("tag:normalise",c),o.tags.push(c.tag)}return await i.callHook("tags:resolve",o),o.tags},_elMap:{},_popSideEffectQueue(){const o={...r};return r={},o}};return s.hooks.callHook("init",s),s}function Vy(e){return typeof e=="function"?e():dt(e)}function bo(e,t=""){if(e instanceof Promise)return e;const r=Vy(e);if(!e||!r)return r;if(Array.isArray(r))return r.map(n=>bo(n,t));if(typeof r=="object"){let n=!1;const i=Object.fromEntries(Object.entries(r).map(([a,s])=>a==="titleTemplate"||a.startsWith("on")?[a,dt(s)]:((typeof s=="function"||st(s))&&(n=!0),[a,bo(s,a)])));return n&&fc.includes(String(t))&&(i._dynamic=!0),i}return r}const Ky=cc.startsWith("3"),Xy=typeof window<"u",Pm="usehead";function dc(){return An()&&Lt(Pm)||Bm()}function Jy(e={}){const t=Yy({...e,domDelayFn:n=>setTimeout(()=>mr(()=>n()),10),plugins:[Zy(),...(e==null?void 0:e.plugins)||[]]}),r={install(n){Ky&&(n.config.globalProperties.$unhead=t,n.provide(Pm,t))}};return t.install=r.install,t}const Zy=()=>({hooks:{"entries:resolve":function(e){for(const t of e.entries)t.resolvedInput=bo(t.input)}}});function Qy(e,t={}){const r=dc(),n=Si(!1),i=Si({});r6(()=>{i.value=n.value?{}:bo(e)});const a=r.push(i.value,t);return ki(i,o=>{a.patch(o)}),An()&&(Vo(()=>{a.dispose()}),Wp(()=>{n.value=!0}),Yp(()=>{n.value=!1})),a}function e8(e,t={}){return dc().push(e,t)}function Lm(e,t={}){var n;const r=dc();if(r){const i=Xy||!!((n=r.resolvedOptions)!=null&&n.document);return t.mode==="server"&&i||t.mode==="client"&&!i?void 0:i?Qy(e,t):e8(e,t)}}function t8(e){const t=Jy(),r={unhead:t,install(n){cc.startsWith("3")&&(n.config.globalProperties.$head=t,n.provide("usehead",t))},use(n){t.use(n)},resolveTags(){return t.resolveTags()},headEntries(){return t.headEntries()},headTags(){return t.resolveTags()},push(n,i){return t.push(n,i)},addEntry(n,i){return t.push(n,i)},addHeadObjs(n,i){return t.push(n,i)},addReactiveEntry(n,i){const a=Lm(n,i);return typeof a<"u"?a.dispose:()=>{}},removeHeadObjs(){},updateDOM(n,i){i?Cm(t,{document:n}):Im(t,{delayFn:a=>setTimeout(()=>a(),50),document:n})},internalHooks:t.hooks,hooks:{"before:dom":[],"resolved:tags":[],"resolved:entries":[]}};return t.addHeadObjs=r.addHeadObjs,t.updateDOM=r.updateDOM,t.hooks.hook("dom:beforeRender",n=>{for(const i of r.hooks["before:dom"])i()===!1&&(n.shouldRender=!1)}),e&&r.addHeadObjs(e),r}const r8={meta:[{name:"viewport",content:"width=device-width, initial-scale=1"},{charset:"utf-8"}],link:[{rel:"preconnect",href:"https://github.githubassets.com/",crossorigin:!0},{rel:"preconnect",href:"https://fonts.googleapis.com/",crossorigin:!0}],style:[],script:[],noscript:[],htmlAttrs:{lang:"en-US"}},Gl={name:"page",mode:"out-in"},n8=!1,i8=!1,a8="__nuxt",s8=At(e=>{const t=t8();t.push(r8),e.vueApp.use(t);{let r=!0;const n=()=>{r=!1,t.internalHooks.callHook("entries:updated",t.unhead)};t.internalHooks.hook("dom:beforeRender",i=>{i.shouldRender=!r}),e.hooks.hook("page:start",()=>{r=!0}),e.hooks.hook("page:finish",n),e.hooks.hook("app:mounted",n)}e._useHead=Lm});/*! * vue-router v4.1.6 * (c) 2022 Eduardo San Martin Morote * @license MIT */const ui=typeof window<"u";function o8(e){return e.__esModule||e[Symbol.toStringTag]==="Module"}const ze=Object.assign;function H0(e,t){const r={};for(const n in t){const i=t[n];r[n]=nr(i)?i.map(e):e(i)}return r}const Aa=()=>{},nr=Array.isArray,l8=/\/$/,u8=e=>e.replace(l8,"");function U0(e,t,r="/"){let n,i={},a="",s="";const o=t.indexOf("#");let l=t.indexOf("?");return o=0&&(l=-1),l>-1&&(n=t.slice(0,l),a=t.slice(l+1,o>-1?o:t.length),i=e(a)),o>-1&&(n=n||t.slice(0,o),s=t.slice(o,t.length)),n=h8(n??t,r),{fullPath:n+(a&&"?")+a+s,path:n,query:i,hash:s}}function c8(e,t){const r=t.query?e(t.query):"";return t.path+(r&&"?")+r+(t.hash||"")}function Sd(e,t){return!t||!e.toLowerCase().startsWith(t.toLowerCase())?e:e.slice(t.length)||"/"}function f8(e,t,r){const n=t.matched.length-1,i=r.matched.length-1;return n>-1&&n===i&&$i(t.matched[n],r.matched[i])&&zm(t.params,r.params)&&e(t.query)===e(r.query)&&t.hash===r.hash}function $i(e,t){return(e.aliasOf||e)===(t.aliasOf||t)}function zm(e,t){if(Object.keys(e).length!==Object.keys(t).length)return!1;for(const r in e)if(!d8(e[r],t[r]))return!1;return!0}function d8(e,t){return nr(e)?Ed(e,t):nr(t)?Ed(t,e):e===t}function Ed(e,t){return nr(t)?e.length===t.length&&e.every((r,n)=>r===t[n]):e.length===1&&e[0]===t}function h8(e,t){if(e.startsWith("/"))return e;if(!e)return t;const r=t.split("/"),n=e.split("/");let i=r.length-1,a,s;for(a=0;a1&&i--;else break;return r.slice(0,i).join("/")+"/"+n.slice(a-(a===n.length?1:0)).join("/")}var Ga;(function(e){e.pop="pop",e.push="push"})(Ga||(Ga={}));var Ra;(function(e){e.back="back",e.forward="forward",e.unknown=""})(Ra||(Ra={}));function p8(e){if(!e)if(ui){const t=document.querySelector("base");e=t&&t.getAttribute("href")||"/",e=e.replace(/^\w+:\/\/[^\/]+/,"")}else e="/";return e[0]!=="/"&&e[0]!=="#"&&(e="/"+e),u8(e)}const m8=/^[^#]+#/;function g8(e,t){return e.replace(m8,"#")+t}function y8(e,t){const r=document.documentElement.getBoundingClientRect(),n=e.getBoundingClientRect();return{behavior:t.behavior,left:n.left-r.left-(t.left||0),top:n.top-r.top-(t.top||0)}}const e0=()=>({left:window.pageXOffset,top:window.pageYOffset});function v8(e){let t;if("el"in e){const r=e.el,n=typeof r=="string"&&r.startsWith("#"),i=typeof r=="string"?n?document.getElementById(r.slice(1)):document.querySelector(r):r;if(!i)return;t=y8(i,e)}else t=e;"scrollBehavior"in document.documentElement.style?window.scrollTo(t):window.scrollTo(t.left!=null?t.left:window.pageXOffset,t.top!=null?t.top:window.pageYOffset)}function xd(e,t){return(history.state?history.state.position-t:-1)+e}const Yl=new Map;function b8(e,t){Yl.set(e,t)}function _8(e){const t=Yl.get(e);return Yl.delete(e),t}let w8=()=>location.protocol+"//"+location.host;function $m(e,t){const{pathname:r,search:n,hash:i}=t,a=e.indexOf("#");if(a>-1){let o=i.includes(e.slice(a))?e.slice(a).length:1,l=i.slice(o);return l[0]!=="/"&&(l="/"+l),Sd(l,"")}return Sd(r,e)+n+i}function S8(e,t,r,n){let i=[],a=[],s=null;const o=({state:p})=>{const g=$m(e,location),v=r.value,E=t.value;let R=0;if(p){if(r.value=g,t.value=p,s&&s===v){s=null;return}R=E?p.position-E.position:0}else n(g);i.forEach(_=>{_(r.value,v,{delta:R,type:Ga.pop,direction:R?R>0?Ra.forward:Ra.back:Ra.unknown})})};function l(){s=r.value}function u(p){i.push(p);const g=()=>{const v=i.indexOf(p);v>-1&&i.splice(v,1)};return a.push(g),g}function c(){const{history:p}=window;p.state&&p.replaceState(ze({},p.state,{scroll:e0()}),"")}function d(){for(const p of a)p();a=[],window.removeEventListener("popstate",o),window.removeEventListener("beforeunload",c)}return window.addEventListener("popstate",o),window.addEventListener("beforeunload",c),{pauseListeners:l,listen:u,destroy:d}}function Td(e,t,r,n=!1,i=!1){return{back:e,current:t,forward:r,replaced:n,position:window.history.length,scroll:i?e0():null}}function E8(e){const{history:t,location:r}=window,n={value:$m(e,r)},i={value:t.state};i.value||a(n.value,{back:null,current:n.value,forward:null,position:t.length-1,replaced:!0,scroll:null},!0);function a(l,u,c){const d=e.indexOf("#"),p=d>-1?(r.host&&document.querySelector("base")?e:e.slice(d))+l:w8()+e+l;try{t[c?"replaceState":"pushState"](u,"",p),i.value=u}catch(g){console.error(g),r[c?"replace":"assign"](p)}}function s(l,u){const c=ze({},t.state,Td(i.value.back,l,i.value.forward,!0),u,{position:i.value.position});a(l,c,!0),n.value=l}function o(l,u){const c=ze({},i.value,t.state,{forward:l,scroll:e0()});a(c.current,c,!0);const d=ze({},Td(n.value,l,null),{position:c.position+1},u);a(l,d,!1),n.value=l}return{location:n,state:i,push:o,replace:s}}function Fm(e){e=p8(e);const t=E8(e),r=S8(e,t.state,t.location,t.replace);function n(a,s=!0){s||r.pauseListeners(),history.go(a)}const i=ze({location:"",base:e,go:n,createHref:g8.bind(null,e)},t,r);return Object.defineProperty(i,"location",{enumerable:!0,get:()=>t.location.value}),Object.defineProperty(i,"state",{enumerable:!0,get:()=>t.state.value}),i}function x8(e){return e=location.host?e||location.pathname+location.search:"",e.includes("#")||(e+="#"),Fm(e)}function T8(e){return typeof e=="string"||e&&typeof e=="object"}function Hm(e){return typeof e=="string"||typeof e=="symbol"}const Kr={path:"/",name:void 0,params:{},query:{},hash:"",fullPath:"/",matched:[],meta:{},redirectedFrom:void 0},Um=Symbol("");var kd;(function(e){e[e.aborted=4]="aborted",e[e.cancelled=8]="cancelled",e[e.duplicated=16]="duplicated"})(kd||(kd={}));function Fi(e,t){return ze(new Error,{type:e,[Um]:!0},t)}function _r(e,t){return e instanceof Error&&Um in e&&(t==null||!!(e.type&t))}const Ad="[^/]+?",k8={sensitive:!1,strict:!1,start:!0,end:!0},A8=/[.+*?^${}()[\]/\\]/g;function R8(e,t){const r=ze({},k8,t),n=[];let i=r.start?"^":"";const a=[];for(const u of e){const c=u.length?[]:[90];r.strict&&!u.length&&(i+="/");for(let d=0;dt.length?t.length===1&&t[0]===40+40?1:-1:0}function M8(e,t){let r=0;const n=e.score,i=t.score;for(;r0&&t[t.length-1]<0}const N8={type:0,value:""},C8=/[a-zA-Z0-9_]/;function I8(e){if(!e)return[[]];if(e==="/")return[[N8]];if(!e.startsWith("/"))throw new Error(`Invalid path "${e}"`);function t(g){throw new Error(`ERR (${r})/"${u}": ${g}`)}let r=0,n=r;const i=[];let a;function s(){a&&i.push(a),a=[]}let o=0,l,u="",c="";function d(){u&&(r===0?a.push({type:0,value:u}):r===1||r===2||r===3?(a.length>1&&(l==="*"||l==="+")&&t(`A repeatable param (${u}) must be alone in its segment. eg: '/:ids+.`),a.push({type:1,value:u,regexp:c,repeatable:l==="*"||l==="+",optional:l==="*"||l==="?"})):t("Invalid state to consume buffer"),u="")}function p(){u+=l}for(;o{s(b)}:Aa}function s(c){if(Hm(c)){const d=n.get(c);d&&(n.delete(c),r.splice(r.indexOf(d),1),d.children.forEach(s),d.alias.forEach(s))}else{const d=r.indexOf(c);d>-1&&(r.splice(d,1),c.record.name&&n.delete(c.record.name),c.children.forEach(s),c.alias.forEach(s))}}function o(){return r}function l(c){let d=0;for(;d=0&&(c.record.path!==r[d].record.path||!jm(c,r[d]));)d++;r.splice(d,0,c),c.record.name&&!Md(c)&&n.set(c.record.name,c)}function u(c,d){let p,g={},v,E;if("name"in c&&c.name){if(p=n.get(c.name),!p)throw Fi(1,{location:c});E=p.record.name,g=ze(Od(d.params,p.keys.filter(b=>!b.optional).map(b=>b.name)),c.params&&Od(c.params,p.keys.map(b=>b.name))),v=p.stringify(g)}else if("path"in c)v=c.path,p=r.find(b=>b.re.test(v)),p&&(g=p.parse(v),E=p.record.name);else{if(p=d.name?n.get(d.name):r.find(b=>b.re.test(d.path)),!p)throw Fi(1,{location:c,currentLocation:d});E=p.record.name,g=ze({},d.params,c.params),v=p.stringify(g)}const R=[];let _=p;for(;_;)R.unshift(_.record),_=_.parent;return{name:E,path:v,params:g,matched:R,meta:z8(R)}}return e.forEach(c=>a(c)),{addRoute:a,resolve:u,removeRoute:s,getRoutes:o,getRecordMatcher:i}}function Od(e,t){const r={};for(const n of t)n in e&&(r[n]=e[n]);return r}function P8(e){return{path:e.path,redirect:e.redirect,name:e.name,meta:e.meta||{},aliasOf:void 0,beforeEnter:e.beforeEnter,props:L8(e),children:e.children||[],instances:{},leaveGuards:new Set,updateGuards:new Set,enterCallbacks:{},components:"components"in e?e.components||null:e.component&&{default:e.component}}}function L8(e){const t={},r=e.props||!1;if("component"in e)t.default=r;else for(const n in e.components)t[n]=typeof r=="boolean"?r:r[n];return t}function Md(e){for(;e;){if(e.record.aliasOf)return!0;e=e.parent}return!1}function z8(e){return e.reduce((t,r)=>ze(t,r.meta),{})}function Nd(e,t){const r={};for(const n in e)r[n]=n in t?t[n]:e[n];return r}function jm(e,t){return t.children.some(r=>r===e||jm(e,r))}const qm=/#/g,$8=/&/g,F8=/\//g,H8=/=/g,U8=/\?/g,Gm=/\+/g,j8=/%5B/g,q8=/%5D/g,Ym=/%5E/g,G8=/%60/g,Wm=/%7B/g,Y8=/%7C/g,Vm=/%7D/g,W8=/%20/g;function hc(e){return encodeURI(""+e).replace(Y8,"|").replace(j8,"[").replace(q8,"]")}function V8(e){return hc(e).replace(Wm,"{").replace(Vm,"}").replace(Ym,"^")}function Wl(e){return hc(e).replace(Gm,"%2B").replace(W8,"+").replace(qm,"%23").replace($8,"%26").replace(G8,"`").replace(Wm,"{").replace(Vm,"}").replace(Ym,"^")}function K8(e){return Wl(e).replace(H8,"%3D")}function X8(e){return hc(e).replace(qm,"%23").replace(U8,"%3F")}function J8(e){return e==null?"":X8(e).replace(F8,"%2F")}function _o(e){try{return decodeURIComponent(""+e)}catch{}return""+e}function Z8(e){const t={};if(e===""||e==="?")return t;const n=(e[0]==="?"?e.slice(1):e).split("&");for(let i=0;ia&&Wl(a)):[n&&Wl(n)]).forEach(a=>{a!==void 0&&(t+=(t.length?"&":"")+r,a!=null&&(t+="="+a))})}return t}function Q8(e){const t={};for(const r in e){const n=e[r];n!==void 0&&(t[r]=nr(n)?n.map(i=>i==null?null:""+i):n==null?n:""+n)}return t}const ev=Symbol(""),Id=Symbol(""),pc=Symbol(""),mc=Symbol(""),Vl=Symbol("");function da(){let e=[];function t(n){return e.push(n),()=>{const i=e.indexOf(n);i>-1&&e.splice(i,1)}}function r(){e=[]}return{add:t,list:()=>e,reset:r}}function Qr(e,t,r,n,i){const a=n&&(n.enterCallbacks[i]=n.enterCallbacks[i]||[]);return()=>new Promise((s,o)=>{const l=d=>{d===!1?o(Fi(4,{from:r,to:t})):d instanceof Error?o(d):T8(d)?o(Fi(2,{from:t,to:d})):(a&&n.enterCallbacks[i]===a&&typeof d=="function"&&a.push(d),s())},u=e.call(n&&n.instances[i],t,r,l);let c=Promise.resolve(u);e.length<3&&(c=c.then(l)),c.catch(d=>o(d))})}function j0(e,t,r,n){const i=[];for(const a of e)for(const s in a.components){let o=a.components[s];if(!(t!=="beforeRouteEnter"&&!a.instances[s]))if(tv(o)){const u=(o.__vccOpts||o)[t];u&&i.push(Qr(u,r,n,a,s))}else{let l=o();i.push(()=>l.then(u=>{if(!u)return Promise.reject(new Error(`Couldn't resolve component "${s}" at "${a.path}"`));const c=o8(u)?u.default:u;a.components[s]=c;const p=(c.__vccOpts||c)[t];return p&&Qr(p,r,n,a,s)()}))}}return i}function tv(e){return typeof e=="object"||"displayName"in e||"props"in e||"__vccOpts"in e}function Dd(e){const t=Lt(pc),r=Lt(mc),n=xt(()=>t.resolve(dt(e.to))),i=xt(()=>{const{matched:l}=n.value,{length:u}=l,c=l[u-1],d=r.matched;if(!c||!d.length)return-1;const p=d.findIndex($i.bind(null,c));if(p>-1)return p;const g=Bd(l[u-2]);return u>1&&Bd(c)===g&&d[d.length-1].path!==g?d.findIndex($i.bind(null,l[u-2])):p}),a=xt(()=>i.value>-1&&av(r.params,n.value.params)),s=xt(()=>i.value>-1&&i.value===r.matched.length-1&&zm(r.params,n.value.params));function o(l={}){return iv(l)?t[dt(e.replace)?"replace":"push"](dt(e.to)).catch(Aa):Promise.resolve()}return{route:n,href:xt(()=>n.value.href),isActive:a,isExactActive:s,navigate:o}}const rv=kn({name:"RouterLink",compatConfig:{MODE:3},props:{to:{type:[String,Object],required:!0},replace:Boolean,activeClass:String,exactActiveClass:String,custom:Boolean,ariaCurrentValue:{type:String,default:"page"}},useLink:Dd,setup(e,{slots:t}){const r=pr(Dd(e)),{options:n}=Lt(pc),i=xt(()=>({[Pd(e.activeClass,n.linkActiveClass,"router-link-active")]:r.isActive,[Pd(e.exactActiveClass,n.linkExactActiveClass,"router-link-exact-active")]:r.isExactActive}));return()=>{const a=t.default&&t.default(r);return e.custom?a:tr("a",{"aria-current":r.isExactActive?e.ariaCurrentValue:null,href:r.href,onClick:r.navigate,class:i.value},a)}}}),nv=rv;function iv(e){if(!(e.metaKey||e.altKey||e.ctrlKey||e.shiftKey)&&!e.defaultPrevented&&!(e.button!==void 0&&e.button!==0)){if(e.currentTarget&&e.currentTarget.getAttribute){const t=e.currentTarget.getAttribute("target");if(/\b_blank\b/i.test(t))return}return e.preventDefault&&e.preventDefault(),!0}}function av(e,t){for(const r in t){const n=t[r],i=e[r];if(typeof n=="string"){if(n!==i)return!1}else if(!nr(i)||i.length!==n.length||n.some((a,s)=>a!==i[s]))return!1}return!0}function Bd(e){return e?e.aliasOf?e.aliasOf.path:e.path:""}const Pd=(e,t,r)=>e??t??r,sv=kn({name:"RouterView",inheritAttrs:!1,props:{name:{type:String,default:"default"},route:Object},compatConfig:{MODE:3},setup(e,{attrs:t,slots:r}){const n=Lt(Vl),i=xt(()=>e.route||n.value),a=Lt(Id,0),s=xt(()=>{let u=dt(a);const{matched:c}=i.value;let d;for(;(d=c[u])&&!d.components;)u++;return u}),o=xt(()=>i.value.matched[s.value]);Ti(Id,xt(()=>s.value+1)),Ti(ev,o),Ti(Vl,i);const l=Si();return ki(()=>[l.value,o.value,e.name],([u,c,d],[p,g,v])=>{c&&(c.instances[d]=u,g&&g!==c&&u&&u===p&&(c.leaveGuards.size||(c.leaveGuards=g.leaveGuards),c.updateGuards.size||(c.updateGuards=g.updateGuards))),u&&c&&(!g||!$i(c,g)||!p)&&(c.enterCallbacks[d]||[]).forEach(E=>E(u))},{flush:"post"}),()=>{const u=i.value,c=e.name,d=o.value,p=d&&d.components[c];if(!p)return Ld(r.default,{Component:p,route:u});const g=d.props[c],v=g?g===!0?u.params:typeof g=="function"?g(u):g:null,R=tr(p,ze({},v,t,{onVnodeUnmounted:_=>{_.component.isUnmounted&&(d.instances[c]=null)},ref:l}));return Ld(r.default,{Component:R,route:u})||R}}});function Ld(e,t){if(!e)return null;const r=e(t);return r.length===1?r[0]:r}const Km=sv;function ov(e){const t=B8(e.routes,e),r=e.parseQuery||Z8,n=e.stringifyQuery||Cd,i=e.history,a=da(),s=da(),o=da(),l=Ml(Kr);let u=Kr;ui&&e.scrollBehavior&&"scrollRestoration"in history&&(history.scrollRestoration="manual");const c=H0.bind(null,L=>""+L),d=H0.bind(null,J8),p=H0.bind(null,_o);function g(L,se){let te,de;return Hm(L)?(te=t.getRecordMatcher(L),de=se):de=L,t.addRoute(de,te)}function v(L){const se=t.getRecordMatcher(L);se&&t.removeRoute(se)}function E(){return t.getRoutes().map(L=>L.record)}function R(L){return!!t.getRecordMatcher(L)}function _(L,se){if(se=ze({},se||l.value),typeof L=="string"){const w=U0(r,L,se.path),k=t.resolve({path:w.path},se),C=i.createHref(w.fullPath);return ze(w,k,{params:p(k.params),hash:_o(w.hash),redirectedFrom:void 0,href:C})}let te;if("path"in L)te=ze({},L,{path:U0(r,L.path,se.path).path});else{const w=ze({},L.params);for(const k in w)w[k]==null&&delete w[k];te=ze({},L,{params:d(L.params)}),se.params=d(se.params)}const de=t.resolve(te,se),Ae=L.hash||"";de.params=c(p(de.params));const Le=c8(n,ze({},L,{hash:V8(Ae),path:de.path})),xe=i.createHref(Le);return ze({fullPath:Le,hash:Ae,query:n===Cd?Q8(L.query):L.query||{}},de,{redirectedFrom:void 0,href:xe})}function b(L){return typeof L=="string"?U0(r,L,l.value.path):ze({},L)}function T(L,se){if(u!==L)return Fi(8,{from:se,to:L})}function O(L){return F(L)}function N(L){return O(ze(b(L),{replace:!0}))}function B(L){const se=L.matched[L.matched.length-1];if(se&&se.redirect){const{redirect:te}=se;let de=typeof te=="function"?te(L):te;return typeof de=="string"&&(de=de.includes("?")||de.includes("#")?de=b(de):{path:de},de.params={}),ze({query:L.query,hash:L.hash,params:"path"in de?{}:L.params},de)}}function F(L,se){const te=u=_(L),de=l.value,Ae=L.state,Le=L.force,xe=L.replace===!0,w=B(te);if(w)return F(ze(b(w),{state:typeof w=="object"?ze({},Ae,w.state):Ae,force:Le,replace:xe}),se||te);const k=te;k.redirectedFrom=se;let C;return!Le&&f8(n,de,te)&&(C=Fi(16,{to:k,from:de}),Te(de,de,!0,!1)),(C?Promise.resolve(C):q(k,de)).catch(z=>_r(z)?_r(z,2)?z:ge(z):K(z,k,de)).then(z=>{if(z){if(_r(z,2))return F(ze({replace:xe},b(z.to),{state:typeof z.to=="object"?ze({},Ae,z.to.state):Ae,force:Le}),se||k)}else z=ie(k,de,!0,xe,Ae);return re(k,de,z),z})}function P(L,se){const te=T(L,se);return te?Promise.reject(te):Promise.resolve()}function q(L,se){let te;const[de,Ae,Le]=lv(L,se);te=j0(de.reverse(),"beforeRouteLeave",L,se);for(const w of de)w.leaveGuards.forEach(k=>{te.push(Qr(k,L,se))});const xe=P.bind(null,L,se);return te.push(xe),ai(te).then(()=>{te=[];for(const w of a.list())te.push(Qr(w,L,se));return te.push(xe),ai(te)}).then(()=>{te=j0(Ae,"beforeRouteUpdate",L,se);for(const w of Ae)w.updateGuards.forEach(k=>{te.push(Qr(k,L,se))});return te.push(xe),ai(te)}).then(()=>{te=[];for(const w of L.matched)if(w.beforeEnter&&!se.matched.includes(w))if(nr(w.beforeEnter))for(const k of w.beforeEnter)te.push(Qr(k,L,se));else te.push(Qr(w.beforeEnter,L,se));return te.push(xe),ai(te)}).then(()=>(L.matched.forEach(w=>w.enterCallbacks={}),te=j0(Le,"beforeRouteEnter",L,se),te.push(xe),ai(te))).then(()=>{te=[];for(const w of s.list())te.push(Qr(w,L,se));return te.push(xe),ai(te)}).catch(w=>_r(w,8)?w:Promise.reject(w))}function re(L,se,te){for(const de of o.list())de(L,se,te)}function ie(L,se,te,de,Ae){const Le=T(L,se);if(Le)return Le;const xe=se===Kr,w=ui?history.state:{};te&&(de||xe?i.replace(L.fullPath,ze({scroll:xe&&w&&w.scroll},Ae)):i.push(L.fullPath,Ae)),l.value=L,Te(L,se,te,xe),ge()}let j;function oe(){j||(j=i.listen((L,se,te)=>{if(!Je.listening)return;const de=_(L),Ae=B(de);if(Ae){F(ze(Ae,{replace:!0}),de).catch(Aa);return}u=de;const Le=l.value;ui&&b8(xd(Le.fullPath,te.delta),e0()),q(de,Le).catch(xe=>_r(xe,12)?xe:_r(xe,2)?(F(xe.to,de).then(w=>{_r(w,20)&&!te.delta&&te.type===Ga.pop&&i.go(-1,!1)}).catch(Aa),Promise.reject()):(te.delta&&i.go(-te.delta,!1),K(xe,de,Le))).then(xe=>{xe=xe||ie(de,Le,!1),xe&&(te.delta&&!_r(xe,8)?i.go(-te.delta,!1):te.type===Ga.pop&&_r(xe,20)&&i.go(-1,!1)),re(de,Le,xe)}).catch(Aa)}))}let W=da(),Ee=da(),I;function K(L,se,te){ge(L);const de=Ee.list();return de.length?de.forEach(Ae=>Ae(L,se,te)):console.error(L),Promise.reject(L)}function ne(){return I&&l.value!==Kr?Promise.resolve():new Promise((L,se)=>{W.add([L,se])})}function ge(L){return I||(I=!L,oe(),W.list().forEach(([se,te])=>L?te(L):se()),W.reset()),L}function Te(L,se,te,de){const{scrollBehavior:Ae}=e;if(!ui||!Ae)return Promise.resolve();const Le=!te&&_8(xd(L.fullPath,0))||(de||!te)&&history.state&&history.state.scroll||null;return mr().then(()=>Ae(L,se,Le)).then(xe=>xe&&v8(xe)).catch(xe=>K(xe,L,se))}const Ne=L=>i.go(L);let Re;const ut=new Set,Je={currentRoute:l,listening:!0,addRoute:g,removeRoute:v,hasRoute:R,getRoutes:E,resolve:_,options:e,push:O,replace:N,go:Ne,back:()=>Ne(-1),forward:()=>Ne(1),beforeEach:a.add,beforeResolve:s.add,afterEach:o.add,onError:Ee.add,isReady:ne,install(L){const se=this;L.component("RouterLink",nv),L.component("RouterView",Km),L.config.globalProperties.$router=se,Object.defineProperty(L.config.globalProperties,"$route",{enumerable:!0,get:()=>dt(l)}),ui&&!Re&&l.value===Kr&&(Re=!0,O(i.location).catch(Ae=>{}));const te={};for(const Ae in Kr)te[Ae]=xt(()=>l.value[Ae]);L.provide(pc,se),L.provide(mc,pr(te)),L.provide(Vl,l);const de=L.unmount;ut.add(L),L.unmount=function(){ut.delete(L),ut.size<1&&(u=Kr,j&&j(),j=null,l.value=Kr,Re=!1,I=!1),de()}}};return Je}function ai(e){return e.reduce((t,r)=>t.then(()=>r()),Promise.resolve())}function lv(e,t){const r=[],n=[],i=[],a=Math.max(t.matched.length,e.matched.length);for(let s=0;s$i(u,o))?n.push(o):r.push(o));const l=e.matched[s];l&&(t.matched.find(u=>$i(u,l))||i.push(l))}return[r,n,i]}function uv(){return Lt(mc)}function q0(e){return e!==null&&typeof e=="object"}function Kl(e,t,r=".",n){if(!q0(t))return Kl(e,{},r,n);const i=Object.assign({},t);for(const a in e){if(a==="__proto__"||a==="constructor")continue;const s=e[a];s!=null&&(n&&n(i,a,s,r)||(Array.isArray(s)&&Array.isArray(i[a])?i[a]=[...s,...i[a]]:q0(s)&&q0(i[a])?i[a]=Kl(s,i[a],(r?`${r}.`:"")+a.toString(),n):i[a]=s))}return i}function Xm(e){return(...t)=>t.reduce((r,n)=>Kl(r,n,"",e),{})}const gc=Xm(),cv=Xm((e,t,r)=>{if(typeof e[t]<"u"&&typeof r=="function")return e[t]=r(e[t]),!0});class Xl extends Error{constructor(){super(...arguments),this.statusCode=500,this.fatal=!1,this.unhandled=!1,this.statusMessage=void 0}toJSON(){const t={message:this.message,statusCode:this.statusCode};return this.statusMessage&&(t.statusMessage=this.statusMessage),this.data!==void 0&&(t.data=this.data),t}}Xl.__h3_error__=!0;function Jl(e){if(typeof e=="string")return new Xl(e);if(fv(e))return e;const t=new Xl(e.message??e.statusMessage,e.cause?{cause:e.cause}:void 0);if("stack"in e)try{Object.defineProperty(t,"stack",{get(){return e.stack}})}catch{try{t.stack=e.stack}catch{}}return e.data&&(t.data=e.data),e.statusCode?t.statusCode=e.statusCode:e.status&&(t.statusCode=e.status),e.statusMessage?t.statusMessage=e.statusMessage:e.statusText&&(t.statusMessage=e.statusText),e.fatal!==void 0&&(t.fatal=e.fatal),e.unhandled!==void 0&&(t.unhandled=e.unhandled),t}function fv(e){var t;return((t=e==null?void 0:e.constructor)==null?void 0:t.__h3_error__)===!0}const t0=()=>Cp(Oe().payload,"error"),pi=e=>{const t=Jm(e);try{Oe().callHook("app:error",t);const n=t0();n.value=n.value||t}catch{throw t}return t},dv=async(e={})=>{const t=Oe(),r=t0();t.callHook("app:error:cleared",e),e.redirect&&await t.$router.replace(e.redirect),r.value=null},hv=e=>!!(e&&typeof e=="object"&&"__nuxt_error"in e),Jm=e=>{const t=Jl(e);return t.__nuxt_error=!0,t};function pv(...e){const t=typeof e[e.length-1]=="string"?e.pop():void 0;typeof e[0]!="string"&&e.unshift(t);const[r,n]=e;if(!r||typeof r!="string")throw new TypeError("[nuxt] [useState] key must be a string: "+r);if(n!==void 0&&typeof n!="function")throw new Error("[nuxt] [useState] init must be a function: "+n);const i="$s"+r,a=Oe(),s=Cp(a.payload.state,i);if(s.value===void 0&&n){const o=n();if(st(o))return a.payload.state[i]=o,o;s.value=o}return s}const fs=()=>{var e;return(e=Oe())==null?void 0:e.$router},Zm=()=>An()?Lt("_route",Oe()._route):Oe()._route,Qm=e=>e,mv=()=>{try{if(Oe()._processingMiddleware)return!0}catch{return!0}return!1},gv=(e,t)=>{e||(e="/");const r=typeof e=="string"?e:e.path||"/",n=Kn(r,!0);if(n&&!(t!=null&&t.external))throw new Error("Navigating to external URL is not allowed by default. Use `navigateTo (url, { external: true })`.");if(n&&cs(r).protocol==="script:")throw new Error("Cannot navigate to an URL with script protocol.");if(!n&&mv())return e;const i=fs();return n?(t!=null&&t.replace?location.replace(r):location.href=r,Promise.resolve()):t!=null&&t.replace?i.replace(e):i.push(e)},yv="modulepreload",vv=function(e,t){return e.startsWith(".")?new URL(e,t).href:e},zd={},bv=function(t,r,n){if(!r||r.length===0)return t();const i=document.getElementsByTagName("link");return Promise.all(r.map(a=>{if(a=vv(a,n),a in zd)return;zd[a]=!0;const s=a.endsWith(".css"),o=s?'[rel="stylesheet"]':"";if(!!n)for(let c=i.length-1;c>=0;c--){const d=i[c];if(d.href===a&&(!s||d.rel==="stylesheet"))return}else if(document.querySelector(`link[href="${a}"]${o}`))return;const u=document.createElement("link");if(u.rel=s?"stylesheet":yv,s||(u.as="script",u.crossOrigin=""),u.href=a,document.head.appendChild(u),s)return new Promise((c,d)=>{u.addEventListener("load",c),u.addEventListener("error",()=>d(new Error(`Unable to preload CSS for ${a}`)))})})).then(()=>t())},rt=(...e)=>bv(...e).catch(t=>{const r=new Event("nuxt.preloadError");throw r.payload=t,window.dispatchEvent(r),t}),$d=[{name:"parent-slug",path:"/:parent/:slug",children:[],meta:{},alias:[],redirect:void 0,component:()=>rt(()=>import("./_slug_.12484271.js"),["./_slug_.12484271.js","./Landing.baf3f721.js","./Footer.c9880efc.js","./usePageTransition.a604dd65.js","./Footer.0de83f90.css","./Blocks.9466e5af.js","./BlockMath.vue.941bcd0c.js","./BlockMath.3377d0a7.css","./Listing.005ba0af.js","./useResourceIndexData.41d7a8a8.js","./useHeadSeo.eef3f183.js","./usePageLoading.4002c363.js","./List.4f7fcccb.js","./Detail.ecbd1877.css","./usePreviewToken.15eb642f.js","./useErrorPage.75a14cb0.js","./lang.4a9029fb.js"],import.meta.url).then(e=>e.default||e)},{name:"slug",path:"/:slug",children:[],meta:{},alias:[],redirect:void 0,component:()=>rt(()=>import("./_slug_.b68dbe81.js"),["./_slug_.b68dbe81.js","./Landing.baf3f721.js","./Footer.c9880efc.js","./usePageTransition.a604dd65.js","./Footer.0de83f90.css","./Blocks.9466e5af.js","./BlockMath.vue.941bcd0c.js","./BlockMath.3377d0a7.css","./Listing.005ba0af.js","./useResourceIndexData.41d7a8a8.js","./useHeadSeo.eef3f183.js","./usePageLoading.4002c363.js","./List.4f7fcccb.js","./Detail.ecbd1877.css","./usePreviewToken.15eb642f.js","./useErrorPage.75a14cb0.js","./lang.4a9029fb.js"],import.meta.url).then(e=>e.default||e)},{name:"blog-slug",path:"/blog/:slug",children:[],meta:{},alias:[],redirect:void 0,component:()=>rt(()=>import("./_slug_.4075626a.js"),["./_slug_.4075626a.js","./Footer.c9880efc.js","./usePageTransition.a604dd65.js","./Footer.0de83f90.css","./HeroMeta.3ede9d0a.js","./Blocks.9466e5af.js","./BlockMath.vue.941bcd0c.js","./BlockMath.3377d0a7.css","./Listing.005ba0af.js","./useResourceIndexData.41d7a8a8.js","./useHeadSeo.eef3f183.js","./usePageLoading.4002c363.js","./List.4f7fcccb.js","./ResearchPublications.4f38041c.js","./usePreviewToken.15eb642f.js","./useErrorPage.75a14cb0.js","./lang.4a9029fb.js"],import.meta.url).then(e=>e.default||e)},{name:"blog",path:"/blog",children:[],url:"/blog",meta:{},alias:[],redirect:void 0,component:()=>rt(()=>import("./index.8ebfaf71.js"),["./index.8ebfaf71.js","./Footer.c9880efc.js","./usePageTransition.a604dd65.js","./Footer.0de83f90.css","./Blocks.9466e5af.js","./BlockMath.vue.941bcd0c.js","./BlockMath.3377d0a7.css","./Listing.005ba0af.js","./useResourceIndexData.41d7a8a8.js","./useHeadSeo.eef3f183.js","./usePageLoading.4002c363.js","./Blog.3b4737db.js","./indexComponents.613c29c2.js","./usePreviewToken.15eb642f.js","./useErrorPage.75a14cb0.js","./lang.4a9029fb.js"],import.meta.url).then(e=>e.default||e)},{name:"blog-series-slug",path:"/blog/series/:slug",children:[],meta:{},alias:[],redirect:void 0,component:()=>rt(()=>import("./_slug_.7822617c.js"),["./_slug_.7822617c.js","./Footer.c9880efc.js","./usePageTransition.a604dd65.js","./Footer.0de83f90.css","./Blocks.9466e5af.js","./BlockMath.vue.941bcd0c.js","./BlockMath.3377d0a7.css","./Listing.005ba0af.js","./useResourceIndexData.41d7a8a8.js","./useHeadSeo.eef3f183.js","./usePageLoading.4002c363.js","./usePreviewToken.15eb642f.js","./useErrorPage.75a14cb0.js","./lang.4a9029fb.js"],import.meta.url).then(e=>e.default||e)},{name:"blog-series",path:"/blog/series",children:[],url:"/blog/series",meta:{},alias:[],redirect:void 0,component:()=>rt(()=>import("./index.44ec3535.js"),["./index.44ec3535.js","./Footer.c9880efc.js","./usePageTransition.a604dd65.js","./Footer.0de83f90.css","./Listing.005ba0af.js","./useHeadSeo.eef3f183.js","./usePageLoading.4002c363.js","./usePreviewToken.15eb642f.js","./useErrorPage.75a14cb0.js","./lang.4a9029fb.js"],import.meta.url).then(e=>e.default||e)},{name:"careers-slug",path:"/careers/:slug",children:[],meta:{},alias:[],redirect:void 0,component:()=>rt(()=>import("./_slug_.cf51830d.js"),["./_slug_.cf51830d.js","./Footer.c9880efc.js","./usePageTransition.a604dd65.js","./Footer.0de83f90.css","./useHeadSeo.eef3f183.js","./usePageLoading.4002c363.js","./useErrorPage.75a14cb0.js","./lang.4a9029fb.js","./_slug_.66ec9176.css"],import.meta.url).then(e=>e.default||e)},{name:"careers-search",path:"/careers/search",children:[],url:"/careers/search",meta:{},alias:[],redirect:void 0,component:()=>rt(()=>import("./search.b45d368e.js"),["./search.b45d368e.js","./Footer.c9880efc.js","./usePageTransition.a604dd65.js","./Footer.0de83f90.css","./useHeadSeo.eef3f183.js","./usePageLoading.4002c363.js","./useErrorPage.75a14cb0.js","./lang.4a9029fb.js","./search.7501b419.css"],import.meta.url).then(e=>e.default||e)},{name:"customer-stories-slug",path:"/customer-stories/:slug",children:[],meta:{},alias:[],redirect:void 0,component:()=>rt(()=>import("./_slug_.c2e86970.js"),["./_slug_.c2e86970.js","./Footer.c9880efc.js","./usePageTransition.a604dd65.js","./Footer.0de83f90.css","./HeroMeta.3ede9d0a.js","./Blocks.9466e5af.js","./BlockMath.vue.941bcd0c.js","./BlockMath.3377d0a7.css","./Listing.005ba0af.js","./useResourceIndexData.41d7a8a8.js","./useHeadSeo.eef3f183.js","./usePageLoading.4002c363.js","./usePreviewToken.15eb642f.js","./useErrorPage.75a14cb0.js","./lang.4a9029fb.js"],import.meta.url).then(e=>e.default||e)},{name:"customer-stories",path:"/customer-stories",children:[],url:"/customer-stories",meta:{},alias:[],redirect:void 0,component:()=>rt(()=>import("./index.fd817332.js"),["./index.fd817332.js","./Footer.c9880efc.js","./usePageTransition.a604dd65.js","./Footer.0de83f90.css","./Listing.005ba0af.js","./CustomerStory.422764ce.js","./indexComponents.613c29c2.js","./useResourceIndexData.41d7a8a8.js","./useHeadSeo.eef3f183.js","./usePageLoading.4002c363.js","./usePreviewToken.15eb642f.js","./useErrorPage.75a14cb0.js","./lang.4a9029fb.js"],import.meta.url).then(e=>e.default||e)},{name:"index",path:"/",children:[],url:"/",meta:{},alias:[],redirect:void 0,component:()=>rt(()=>import("./index.4f68270f.js"),["./index.4f68270f.js","./Footer.c9880efc.js","./usePageTransition.a604dd65.js","./Footer.0de83f90.css","./Blocks.9466e5af.js","./BlockMath.vue.941bcd0c.js","./BlockMath.3377d0a7.css","./Listing.005ba0af.js","./useResourceIndexData.41d7a8a8.js","./useHeadSeo.eef3f183.js","./usePageLoading.4002c363.js","./usePreviewToken.15eb642f.js","./useErrorPage.75a14cb0.js","./lang.4a9029fb.js"],import.meta.url).then(e=>e.default||e)},{name:"preview-params",path:"/preview/:params(.*)*",children:[],meta:{},alias:[],redirect:void 0,component:()=>rt(()=>import("./_...params_.d4a3e1c5.js"),["./_...params_.d4a3e1c5.js","./usePreviewToken.15eb642f.js"],import.meta.url).then(e=>e.default||e)},{name:"product-parent-slug",path:"/product/:parent/:slug",children:[],meta:{},alias:[],redirect:void 0,component:()=>rt(()=>import("./_slug_.b537eee2.js"),["./_slug_.b537eee2.js","./Landing.baf3f721.js","./Footer.c9880efc.js","./usePageTransition.a604dd65.js","./Footer.0de83f90.css","./Blocks.9466e5af.js","./BlockMath.vue.941bcd0c.js","./BlockMath.3377d0a7.css","./Listing.005ba0af.js","./useResourceIndexData.41d7a8a8.js","./useHeadSeo.eef3f183.js","./usePageLoading.4002c363.js","./List.4f7fcccb.js","./Detail.ecbd1877.css","./usePreviewToken.15eb642f.js","./useErrorPage.75a14cb0.js","./lang.4a9029fb.js"],import.meta.url).then(e=>e.default||e)},{name:"product-slug",path:"/product/:slug",children:[],meta:{},alias:[],redirect:void 0,component:()=>rt(()=>import("./_slug_.f649f2fa.js"),["./_slug_.f649f2fa.js","./Footer.c9880efc.js","./usePageTransition.a604dd65.js","./Footer.0de83f90.css","./Blocks.9466e5af.js","./BlockMath.vue.941bcd0c.js","./BlockMath.3377d0a7.css","./Listing.005ba0af.js","./useResourceIndexData.41d7a8a8.js","./useHeadSeo.eef3f183.js","./usePageLoading.4002c363.js","./Landing.baf3f721.js","./List.4f7fcccb.js","./Detail.ecbd1877.css","./usePreviewToken.15eb642f.js","./useErrorPage.75a14cb0.js","./lang.4a9029fb.js"],import.meta.url).then(e=>e.default||e)},{name:"research-parent-slug",path:"/research/:parent/:slug",children:[],meta:{},alias:[],redirect:void 0,component:()=>rt(()=>import("./_slug_.fa493588.js"),["./_slug_.fa493588.js","./Landing.baf3f721.js","./Footer.c9880efc.js","./usePageTransition.a604dd65.js","./Footer.0de83f90.css","./Blocks.9466e5af.js","./BlockMath.vue.941bcd0c.js","./BlockMath.3377d0a7.css","./Listing.005ba0af.js","./useResourceIndexData.41d7a8a8.js","./useHeadSeo.eef3f183.js","./usePageLoading.4002c363.js","./List.4f7fcccb.js","./Detail.ecbd1877.css","./usePreviewToken.15eb642f.js","./useErrorPage.75a14cb0.js","./lang.4a9029fb.js"],import.meta.url).then(e=>e.default||e)},{name:"research-slug",path:"/research/:slug",children:[],meta:{},alias:[],redirect:void 0,component:()=>rt(()=>import("./_slug_.0c5bb87f.js"),["./_slug_.0c5bb87f.js","./Footer.c9880efc.js","./usePageTransition.a604dd65.js","./Footer.0de83f90.css","./HeroMeta.3ede9d0a.js","./Blocks.9466e5af.js","./BlockMath.vue.941bcd0c.js","./BlockMath.3377d0a7.css","./Listing.005ba0af.js","./useResourceIndexData.41d7a8a8.js","./useHeadSeo.eef3f183.js","./usePageLoading.4002c363.js","./List.4f7fcccb.js","./ResearchPublications.4f38041c.js","./Landing.baf3f721.js","./Detail.ecbd1877.css","./usePreviewToken.15eb642f.js","./useErrorPage.75a14cb0.js","./lang.4a9029fb.js","./Chapters.c32c0c73.css"],import.meta.url).then(e=>e.default||e)},{name:"research",path:"/research",children:[],url:"/research",meta:{},alias:[],redirect:void 0,component:()=>rt(()=>import("./index.b77228f2.js"),["./index.b77228f2.js","./Footer.c9880efc.js","./usePageTransition.a604dd65.js","./Footer.0de83f90.css","./Research.54238ee6.js","./indexComponents.613c29c2.js","./Listing.005ba0af.js","./useResourceIndexData.41d7a8a8.js","./useHeadSeo.eef3f183.js","./usePageLoading.4002c363.js","./useErrorPage.75a14cb0.js","./lang.4a9029fb.js"],import.meta.url).then(e=>e.default||e)},{name:"search",path:"/search",children:[],url:"/search",meta:{},alias:[],redirect:void 0,component:()=>rt(()=>import("./index.bfb4f069.js"),["./index.bfb4f069.js","./Footer.c9880efc.js","./usePageTransition.a604dd65.js","./Footer.0de83f90.css","./Listing.005ba0af.js","./BlockMath.vue.941bcd0c.js","./BlockMath.3377d0a7.css","./useHeadSeo.eef3f183.js","./usePageLoading.4002c363.js","./indexComponents.613c29c2.js","./Blog.3b4737db.js","./useResourceIndexData.41d7a8a8.js","./CustomerStory.422764ce.js","./Research.54238ee6.js","./index.298688c3.css","./Chapters.c32c0c73.css","./Detail.ecbd1877.css"],import.meta.url).then(e=>e.default||e)}],_v={scrollBehavior(e,t,r){const n=Oe();let i=r||void 0;if(!i&&t&&e&&e.meta.scrollToTop!==!1&&wv(t,e)&&(i={left:0,top:0}),e.path===t.path){if(t.hash&&!e.hash)return{left:0,top:0};if(e.hash)return{el:e.hash,top:Fd(e.hash)}}const a=o=>!!(o.meta.pageTransition??Gl),s=a(t)&&a(e)?"page:transition:finish":"page:finish";return new Promise(o=>{n.hooks.hookOnce(s,async()=>{await mr(),e.hash&&(i={el:e.hash,top:Fd(e.hash)}),o(i)})})}};function Fd(e){try{const t=document.querySelector(e);if(t)return parseFloat(getComputedStyle(t).scrollMarginTop)}catch{}return 0}function wv(e,t){const r=e.matched[0]===t.matched[0];return!!(!r||r&&JSON.stringify(e.params)!==JSON.stringify(t.params))}const Sv={strict:!0},wr={...Sv,..._v},Ev=Qm(async e=>{var l;let t,r;if(!((l=e.meta)!=null&&l.validate))return;const n=Oe(),i=fs();if(([t,r]=ql(()=>Promise.resolve(e.meta.validate(e))),t=await t,r(),t)===!0)return;const s=Jm({statusCode:404,statusMessage:`Page Not Found: ${e.fullPath}`}),o=i.beforeResolve(u=>{if(o(),u===e){const c=i.afterEach(async()=>{c(),await Ar(n,pi,[s]),window.history.pushState({},"",e.fullPath)});return!1}})});function Hd(e,t={}){const r=xv(e,t),n=Oe(),i=n._payloadCache=n._payloadCache||{};return i[e]||(i[e]=Tv(r).then(a=>a||(delete i[e],null))),i[e]}function xv(e,t={}){const r=new URL(e,"http://localhost");if(r.search)throw new Error("Payload URL cannot contain search params: "+e);if(r.host!=="localhost"||Kn(r.pathname,!0))throw new Error("Payload URL must not include hostname: "+e);const n=t.hash||(t.fresh?Date.now():"");return ta(Qo().app.baseURL,r.pathname,n?`_payload.${n}.js`:"_payload.js")}async function Tv(e){const t=await rt(()=>import(e),[],import.meta.url).catch(r=>{console.warn("[nuxt] Cannot load payload ",e,r)});return(t==null?void 0:t.default)||null}function kv(){return!!Oe().payload.prerenderedAt}const Av={};cv(Av);const Rv=Qm((e,t)=>{if(e.path!=="/"&&e.path.endsWith("/")){const{path:r,query:n,hash:i}=e,s={path:r.replace(/\/+$/,"")||"/",query:n,hash:i};return gv(s,{redirectCode:301})}}),Ov=[Ev,Rv],Oa={};function Mv(e,t){const{pathname:r,search:n,hash:i}=t,a=e.indexOf("#");if(a>-1){const o=i.includes(e.slice(a))?e.slice(a).length:1;let l=i.slice(o);return l[0]!=="/"&&(l="/"+l),hd(l,"")}return hd(r,e)+n+i}const Nv=At(async e=>{var v,E;let t,r,n=Qo().app.baseURL;wr.hashMode&&!n.includes("#")&&(n+="#");const i=((v=wr.history)==null?void 0:v.call(wr,n))??(wr.hashMode?x8(n):Fm(n)),a=((E=wr.routes)==null?void 0:E.call(wr,$d))??$d,s=Mv(n,window.location),o=ov({...wr,history:i,routes:a});e.vueApp.use(o);const l=Ml(o.currentRoute.value);o.afterEach((R,_)=>{l.value=_}),Object.defineProperty(e.vueApp.config.globalProperties,"previousRoute",{get:()=>l.value});const u=Ml(o.resolve(s)),c=()=>{u.value=o.currentRoute.value};e.hook("page:finish",c),o.afterEach((R,_)=>{var b,T,O,N;((T=(b=R.matched[0])==null?void 0:b.components)==null?void 0:T.default)===((N=(O=_.matched[0])==null?void 0:O.components)==null?void 0:N.default)&&c()});const d={};for(const R in u.value)d[R]=xt(()=>u.value[R]);e._route=pr(d),e._middleware=e._middleware||{global:[],named:{}};const p=t0();try{[t,r]=ql(()=>o.isReady()),await t,r()}catch(R){[t,r]=ql(()=>Ar(e,pi,[R])),await t,r()}const g=pv("_layout");return o.beforeEach(async(R,_)=>{var T;R.meta=pr(R.meta),e.isHydrating&&g.value&&!Vn(R.meta.layout)&&(R.meta.layout=g.value),e._processingMiddleware=!0;const b=new Set([...Ov,...e._middleware.global]);for(const O of R.matched){const N=O.meta.middleware;if(N)if(Array.isArray(N))for(const B of N)b.add(B);else b.add(N)}for(const O of b){const N=typeof O=="string"?e._middleware.named[O]||await((T=Oa[O])==null?void 0:T.call(Oa).then(F=>F.default||F)):O;if(!N)throw new Error(`Unknown route middleware: '${O}'.`);const B=await Ar(e,N,[R,_]);if(!e.payload.serverRendered&&e.isHydrating&&(B===!1||B instanceof Error)){const F=B||Jl({statusCode:404,statusMessage:`Page Not Found: ${s}`});return await Ar(e,pi,[F]),!1}if(B||B===!1)return B}}),o.afterEach(async R=>{delete e._processingMiddleware,!e.isHydrating&&p.value&&await Ar(e,dv),R.matched.length===0&&await Ar(e,pi,[Jl({statusCode:404,fatal:!1,statusMessage:`Page not found: ${R.fullPath}`})])}),e.hooks.hookOnce("app:created",async()=>{try{await o.replace({...o.resolve(s),name:void 0,force:!0})}catch(R){await Ar(e,pi,[R])}}),{provide:{router:o}}}),mi={app:()=>rt(()=>import("./app.c7902720.js"),["./app.c7902720.js","./usePageTransition.a604dd65.js","./useAsyncNavigationData.10beaa25.js","./usePageLoading.4002c363.js"],import.meta.url).then(e=>e.default||e)},Cv=At(()=>{const e=Oe(),t=fs();e.hooks.hook("app:mounted",()=>{t.beforeEach(async r=>{var i;const n=(i=r==null?void 0:r.meta)==null?void 0:i.layout;n&&typeof mi[n]=="function"&&await mi[n]()})}),e.hooks.hook("link:prefetch",r=>{var s,o,l,u;if(Kn(r))return;const n=t.resolve(r);if(!n)return;const i=(s=n==null?void 0:n.meta)==null?void 0:s.layout;let a=Array.isArray((o=n==null?void 0:n.meta)==null?void 0:o.middleware)?(l=n==null?void 0:n.meta)==null?void 0:l.middleware:[(u=n==null?void 0:n.meta)==null?void 0:u.middleware];a=a.filter(c=>typeof c=="string");for(const c of a)typeof Oa[c]=="function"&&Oa[c]();i&&typeof mi[i]=="function"&&mi[i]()})});async function Iv(e,t){return await Dv(t).catch(n=>(console.error("Failed to get image meta for "+t,n+""),{width:0,height:0,ratio:0}))}async function Dv(e){if(typeof Image>"u")throw new TypeError("Image not supported");return new Promise((t,r)=>{const n=new Image;n.onload=()=>{const i={width:n.width,height:n.height,ratio:n.width/n.height};t(i)},n.onerror=i=>r(i),n.src=e})}function Ud(e){return t=>t?e[t]||t:e.missingValue}function Bv({formatter:e,keyMap:t,joinWith:r="/",valueMap:n}={}){e||(e=(a,s)=>`${a}=${s}`),t&&typeof t!="function"&&(t=Ud(t));const i=n||{};return Object.keys(i).forEach(a=>{typeof i[a]!="function"&&(i[a]=Ud(i[a]))}),(a={})=>Object.entries(a).filter(([o,l])=>typeof l<"u").map(([o,l])=>{const u=i[o];return typeof u=="function"&&(l=u(a[o])),o=typeof t=="function"?t(o):o,e(o,l)}).join(r)}function wo(e=""){if(typeof e=="number")return e;if(typeof e=="string"&&e.replace("px","").match(/^\d+$/g))return parseInt(e,10)}function Pv(e){const t={options:e},r=(i,a={})=>e4(t,i,a),n=(i,a={},s={})=>r(i,{...s,modifiers:gc(a,s.modifiers||{})}).url;for(const i in e.presets)n[i]=(a,s,o)=>n(a,s,{...e.presets[i],...o});return n.options=e,n.getImage=r,n.getMeta=(i,a)=>Lv(t,i,a),n.getSizes=(i,a)=>Fv(t,i,a),t.$img=n,n}async function Lv(e,t,r){const n=e4(e,t,{...r});return typeof n.getMeta=="function"?await n.getMeta():await Iv(e,n.url)}function e4(e,t,r){var u,c;if(typeof t!="string"||t==="")throw new TypeError(`input must be a string (received ${typeof t}: ${JSON.stringify(t)})`);if(t.startsWith("data:"))return{url:t};const{provider:n,defaults:i}=zv(e,r.provider||e.options.provider),a=$v(e,r.preset);if(t=Kn(t)?t:G7(t),!n.supportsAlias)for(const d in e.options.alias)t.startsWith(d)&&(t=ta(e.options.alias[d],t.substr(d.length)));if(n.validateDomains&&Kn(t)){const d=cs(t).host;if(!e.options.domains.find(p=>p===d))return{url:t}}const s=gc(r,a,i);s.modifiers={...s.modifiers};const o=s.modifiers.format;(u=s.modifiers)!=null&&u.width&&(s.modifiers.width=wo(s.modifiers.width)),(c=s.modifiers)!=null&&c.height&&(s.modifiers.height=wo(s.modifiers.height));const l=n.getImage(t,s,e);return l.format=l.format||o||"",l}function zv(e,t){const r=e.options.providers[t];if(!r)throw new Error("Unknown provider: "+t);return r}function $v(e,t){if(!t)return{};if(!e.options.presets[t])throw new Error("Unknown preset: "+t);return e.options.presets[t]}function Fv(e,t,r){var u,c;const n=wo((u=r.modifiers)==null?void 0:u.width),i=wo((c=r.modifiers)==null?void 0:c.height),a=n&&i?i/n:0,s=[],o={};if(typeof r.sizes=="string")for(const d of r.sizes.split(/[\s,]+/).filter(p=>p)){const p=d.split(":");p.length===2&&(o[p[0].trim()]=p[1].trim())}else Object.assign(o,r.sizes);for(const d in o){const p=e.options.screens&&e.options.screens[d]||parseInt(d);let g=String(o[d]);const v=g.endsWith("vw");if(!v&&/^\d+$/.test(g)&&(g=g+"px"),!v&&!g.endsWith("px"))continue;let E=parseInt(g);if(!p||!E)continue;v&&(E=Math.round(E/100*p));const R=a?Math.round(E*a):i;s.push({width:E,size:g,screenMaxWidth:p,media:`(max-width: ${p}px)`,src:e.$img(t,{...r.modifiers,width:E,height:R},r)})}s.sort((d,p)=>d.screenMaxWidth-p.screenMaxWidth);const l=s[s.length-1];return l&&(l.media=""),{sizes:s.map(d=>`${d.media?d.media+" ":""}${d.size}`).join(", "),srcset:s.map(d=>`${d.src} ${d.width}w`).join(", "),src:l==null?void 0:l.src}}const t4=Bv({keyMap:{width:"w",height:"h",format:"fm",quality:"q",backgroundColor:"bg",rotate:"rot",mask:"mask",auto:"auto",crop:"crop",brightness:"bri",contrast:"con",exposure:"exp",gamma:"gam",highlight:"high",hueShift:"hue",invert:"invert",saturation:"sat",shadow:"shad",sharpen:"sharp",unsharpMask:"usm",unsharpMaskRadius:"usmrad",vibrance:"vib",blend:"blend",blendAlign:"blend-align",blendAlpha:"blend-alpha",blendColor:"blend-color",blendCrop:"blend-crop",blendFit:"blend-fit",blendHeight:"blend-h",blendMode:"blend-mode",blendPadding:"blend-pad",blendSize:"blend-size",blendWidth:"blend-w",blendXPosition:"blend-x",blendYPosition:"blend-y",padding:"pad",borderBottom:"border-bottom",borderLeft:"border-left",innerBorderRadius:"border-radius-inner",outerBorderRadius:"border-radius",borderRight:"border-right",borderTop:"border-top",borderSizeColor:"border",paddingBottom:"pad-bottom",paddingLeft:"pad-left",paddingRight:"pad-right",paddingTop:"pad-top",paletteColorCount:"colors",colorPaletteExtraction:"palette",cssPrefix:"prefix",expirationTimestamp:"expires",faceIndex:"faceindex",facePadding:"facepad",jsonFaceData:"faces",fillMode:"fill",fillColor:"fill-color",gridColors:"grid-colors",gridSize:"grid-size",transparency:"transparency",focalPointDebug:"fp-debug",focalPointXPosition:"fp-x",focalPointYPosition:"fp-y",focalPointZoom:"fp-z",clientHints:"ch",chromaSubsampling:"chromasub",colorQuantization:"colorquant",colorSpace:"cs",download:"dl",dotsPerInch:"dpi",losslessCompression:"lossless",maskBackgroundColor:"mask-bg",maskCornerRadius:"corner-radius",noiseReductionSharp:"nrs",noiseReductionBound:"nr",pdfPageNumber:"page",pdfAnnotation:"pdf-annotation",pixelDensity:"dpr",orientation:"orient",flipAxis:"flip",aspectRatio:"ar",maximumHeight:"max-h",maximumWidth:"max-w",minimumHeight:"min-h",minimumWidth:"min-w",sourceRectangleRegion:"rect",gaussianBlur:"blur",duotoneAlpha:"duotone-alpha",duotone:"duotone",halftone:"htn",monochrome:"monochrome",pixellate:"px",sepiaTone:"sepia",textAlign:"txt-align",textClippingMode:"txt-clip",textColor:"txt-color",textFitMode:"txt-fit",textFont:"txt-font",textLigatures:"txt-lig",textOutlineColor:"txt-line-color",textOutline:"txt-line",textPadding:"txt-pad",textShadow:"txt-shad",textFontSize:"txt-size",textWidth:"txt-width",textString:"txt",trimColor:"trim-color",trimMeanDifference:"trim-md",trimStandardDeviation:"trim-sd",trimTolerance:"trim-tol",trimImage:"trim",textLeading:"txt-lead",textTracking:"txt-track",typesettingEndpoint:"~text",watermarkAlignment:"mark-align",watermarkAlpha:"mark-alpha",watermarkBaseURL:"mark-base",watermarkFitMode:"mark-fit",watermarkHeight:"mark-h",watermarkPadding:"mark-pad",watermarkRotation:"mark-rot",watermarkScale:"mark-sclae",watermarkTile:"mark-tile",watermarkWidth:"mark-w",watermarkXPosition:"mark-x",watermarkYPosition:"mark-y",watermarkImageURL:"mark"},valueMap:{fit:{fill:"scale",inside:"max",outside:"min",cover:"crop",contain:"fill",clamp:"clamp",clip:"clip",facearea:"facearea",fillMax:"fillmax"},format:{gif:"gif",jp2:"jp2",jpg:"jpg",json:"json",jxr:"jxr",pjpg:"pjpg",mp4:"mp4",png:"png",png8:"png8",png32:"png32",webm:"webm",webp:"webp",blurhash:"blurhash"}},joinWith:"&",formatter:(e,t)=>`${e}=${t}`}),Hv=(e,{modifiers:t={},baseURL:r="/"}={})=>{const n=t4(t);return{url:ta(r,e+(n?"?"+n:""))}},Uv=Object.freeze(Object.defineProperty({__proto__:null,getImage:Hv,operationsGenerator:t4},Symbol.toStringTag,{value:"Module"})),r4={screens:{xs:429,sm:744,md:1280,lg:1440,xl:1919,xxl:1920,"2xl":1536},presets:{},provider:"imgix",domains:["twill.openai.com"],alias:{}};r4.providers={imgix:{provider:Uv,defaults:{baseURL:"https://openaicom.imgix.net",modifiers:{fm:"auto",auto:"compress,format",fit:"min"}}}};const jv=At(()=>({provide:{img:Pv(r4)}})),qv=At(e=>{const t=fs(),r=new Set;t.beforeEach(()=>{r.clear()}),e.hook("app:chunkError",({error:n})=>{r.add(n)}),t.onError((n,i)=>{if(!r.has(n))return;let a={};try{a=JSON.parse(localStorage.getItem("nuxt:reload")||"{}")}catch{}((a==null?void 0:a.path)!==i.fullPath||(a==null?void 0:a.expires){kv()&&(e.hooks.hook("link:prefetch",t=>{if(!cs(t).protocol)return Hd(t)}),fs().beforeResolve(async(t,r)=>{if(t.path===r.path)return;const n=await Hd(t.path);n&&Object.assign(e.static.data,n.data)}))});function Zl(e,t,r){return t in e?Object.defineProperty(e,t,{value:r,enumerable:!0,configurable:!0,writable:!0}):e[t]=r,e}function jd(e,t){var r=Object.keys(e);if(Object.getOwnPropertySymbols){var n=Object.getOwnPropertySymbols(e);t&&(n=n.filter(function(i){return Object.getOwnPropertyDescriptor(e,i).enumerable})),r.push.apply(r,n)}return r}function Ql(e){for(var t=1;t1&&arguments[1]!==void 0?arguments[1]:{};return new Promise(function(n,i){if(!(typeof document>"u")){var a=document.head||document.getElementsByTagName("head")[0],s=document.createElement("script");if(s.async=!0,s.src=t,s.defer=r.defer,r.preconnectOrigin){var o=document.createElement("link");o.href=r.preconnectOrigin,o.rel="preconnect",a.appendChild(o)}a.appendChild(s),s.onload=n,s.onerror=i}})},Wv=function e(t){for(var r=arguments.length,n=new Array(r>1?r-1:0),i=1;i"u"||typeof document>"u")},qd=function(t){var r=arguments.length>1&&arguments[1]!==void 0?arguments[1]:!0;ds()},Vv=function(){var t=arguments.length>0&&arguments[0]!==void 0?arguments[0]:{};return qd('Missing "appName" property inside the plugin options.',t.app_name==null),qd('Missing "name" property in the route.',t.screen_name==null),t};function Kv(){var e=arguments.length>0&&arguments[0]!==void 0?arguments[0]:"",t=arguments.length>1&&arguments[1]!==void 0?arguments[1]:"",r=e.split("/"),n=t.split("/");return r[0]===""&&t[t.length-1]==="/"&&r.shift(),n.join("/")+r.join("/")}var Xv=function(){return{bootstrap:!0,onReady:null,onError:null,onBeforeTrack:null,onAfterTrack:null,pageTrackerTemplate:null,customResourceURL:"https://www.googletagmanager.com/gtag/js",customPreconnectOrigin:"https://www.googletagmanager.com",deferScriptLoad:!1,pageTrackerExcludedRoutes:[],pageTrackerEnabled:!0,enabled:!0,disableScriptLoad:!1,pageTrackerScreenviewEnabled:!1,appName:null,pageTrackerUseFullPath:!1,pageTrackerPrependBase:!0,pageTrackerSkipSamePath:!0,globalDataLayerName:"dataLayer",globalObjectName:"gtag",defaultGroupName:"default",includes:null,config:{id:null,params:{send_page_view:!1}}}},n4={},Jv=function(){var t=arguments.length>0&&arguments[0]!==void 0?arguments[0]:{},r=Xv();n4=Wv(r,t)},zt=function(){return n4},Xn=function(){var e,t=zt(),r=t.globalObjectName;!ds()||typeof window[r]>"u"||(e=window)[r].apply(e,arguments)},yc=function(){for(var e=arguments.length,t=new Array(e),r=0;r0&&arguments[0]!==void 0?arguments[0]:!0,t=zt(),r=t.config,n=t.includes;Gd(r.id,e),Array.isArray(n)&&n.forEach(function(i){return Gd(i.id,e)})},a4=function(){i4(!0)},Zv=function(){i4(!1)},s4,Qv=function(t){s4=t},vc=function(){return s4},ti=function(e){var t=arguments.length>1&&arguments[1]!==void 0?arguments[1]:{},r=zt(),n=r.includes,i=r.defaultGroupName;t.send_to==null&&Array.isArray(n)&&n.length&&(t.send_to=n.map(function(a){return a.id}).concat(i)),Xn("event",e,t)},o4=function(e){if(ds()){var t;if(typeof e=="string")t={page_path:e};else if(e.path||e.fullPath){var r=zt(),n=r.pageTrackerUseFullPath,i=r.pageTrackerPrependBase,a=vc(),s=a&&a.options.base,o=n?e.fullPath:e.path;t=Ql(Ql({},e.name&&{page_title:e.name}),{},{page_path:i?Kv(o,s):o})}else t=e;t.page_location==null&&(t.page_location=window.location.href),t.send_page_view==null&&(t.send_page_view=!0),ti("page_view",t)}},l4=function(e){var t=zt(),r=t.appName;if(e){var n;typeof e=="string"?n={screen_name:e}:n=e,n.app_name=n.app_name||r,ti("screen_view",n)}},eb=function(){for(var e=arguments.length,t=new Array(e),r=0;r0&&arguments[0]!==void 0?arguments[0]:{},t=arguments.length>1&&arguments[1]!==void 0?arguments[1]:{},r=zt(),n=r.appName,i=r.pageTrackerTemplate,a=r.pageTrackerScreenviewEnabled,s=r.pageTrackerSkipSamePath;if(!(s&&e.path===t.path)){var o=e;if(we(i)?o=i(e,t):a&&(o=Vv({app_name:n,screen_name:e.name})),a){l4(o);return}o4(o)}},Vd=function(t){var r=zt(),n=r.pageTrackerExcludedRoutes;return n.includes(t.path)||n.includes(t.name)},cb=function(){var e=zt(),t=e.onBeforeTrack,r=e.onAfterTrack,n=vc();n.isReady().then(function(){mr().then(function(){var i=n.currentRoute;u4(),!Vd(i.value)&&Wd(i.value)}),n.afterEach(function(i,a){mr().then(function(){Vd(i)||(we(t)&&t(i,a),Wd(i,a),we(r)&&r(i,a))})})})},fb=function(){var e=zt(),t=e.onReady,r=e.onError,n=e.globalObjectName,i=e.globalDataLayerName,a=e.config,s=e.customResourceURL,o=e.customPreconnectOrigin,l=e.deferScriptLoad,u=e.pageTrackerEnabled,c=e.disableScriptLoad,d=Boolean(u&&vc());if(ub(),d?cb():u4(),!c)return Yv("".concat(s,"?id=").concat(a.id,"&l=").concat(i),{preconnectOrigin:o,defer:l}).then(function(){t&&t(window[n])}).catch(function(p){return r&&r(p),p})},db=function(t){var r=arguments.length>1&&arguments[1]!==void 0?arguments[1]:{},n=arguments.length>2?arguments[2]:void 0;lb(t),Jv(r),Qv(n),zt().bootstrap&&fb()};const hb=At(e=>{const t=Qo(),r=t.public.GOOGLE_ANALYTICS_ID;t.public.APP_ENV==="production"&&r&&e.vueApp.use(db,{config:{id:r}})});async function pb({topics:e=[],size:t=4}={}){const{$twill:r}=Oe();let n;const i={published:!0},a=r.find("blog-details").sort("-publicationDate,-createdAt").page({size:t}).include(["media","topics"]);return e&&e.length&&(i.topics={slug:e}),a.filter(i),n=await a.fetch(),n.data?r.transform(n):null}class Bt{constructor(t,r,n){this.lexer=void 0,this.start=void 0,this.end=void 0,this.lexer=t,this.start=r,this.end=n}static range(t,r){return r?!t||!t.loc||!r.loc||t.loc.lexer!==r.loc.lexer?null:new Bt(t.loc.lexer,t.loc.start,r.loc.end):t&&t.loc}}class qt{constructor(t,r){this.text=void 0,this.loc=void 0,this.noexpand=void 0,this.treatAsRelax=void 0,this.text=t,this.loc=r}range(t,r){return new qt(r,Bt.range(this,t))}}class Z{constructor(t,r){this.position=void 0;var n="KaTeX parse error: "+t,i,a=r&&r.loc;if(a&&a.start<=a.end){var s=a.lexer.input;i=a.start;var o=a.end;i===s.length?n+=" at end of input: ":n+=" at position "+(i+1)+": ";var l=s.slice(i,o).replace(/[^]/g,"$&̲"),u;i>15?u="…"+s.slice(i-15,i):u=s.slice(0,i);var c;o+15":">","<":"<",'"':""","'":"'"},_b=/[&><"']/g;function wb(e){return String(e).replace(_b,t=>bb[t])}var c4=function e(t){return t.type==="ordgroup"||t.type==="color"?t.body.length===1?e(t.body[0]):t:t.type==="font"?e(t.body):t},Sb=function(t){var r=c4(t);return r.type==="mathord"||r.type==="textord"||r.type==="atom"},Eb=function(t){if(!t)throw new Error("Expected non-null, but got "+String(t));return t},xb=function(t){var r=/^\s*([^\\/#]*?)(?::|�*58|�*3a)/i.exec(t);return r!=null?r[1]:"_relative"},_e={contains:mb,deflt:gb,escape:wb,hyphenate:vb,getBaseElem:c4,isCharacterBox:Sb,protocolFromUrl:xb},eo={displayMode:{type:"boolean",description:"Render math in display mode, which puts the math in display style (so \\int and \\sum are large, for example), and centers the math on the page on its own line.",cli:"-d, --display-mode"},output:{type:{enum:["htmlAndMathml","html","mathml"]},description:"Determines the markup language of the output.",cli:"-F, --format "},leqno:{type:"boolean",description:"Render display math in leqno style (left-justified tags)."},fleqn:{type:"boolean",description:"Render display math flush left."},throwOnError:{type:"boolean",default:!0,cli:"-t, --no-throw-on-error",cliDescription:"Render errors (in the color given by --error-color) instead of throwing a ParseError exception when encountering an error."},errorColor:{type:"string",default:"#cc0000",cli:"-c, --error-color ",cliDescription:"A color string given in the format 'rgb' or 'rrggbb' (no #). This option determines the color of errors rendered by the -t option.",cliProcessor:e=>"#"+e},macros:{type:"object",cli:"-m, --macro ",cliDescription:"Define custom macro of the form '\\foo:expansion' (use multiple -m arguments for multiple macros).",cliDefault:[],cliProcessor:(e,t)=>(t.push(e),t)},minRuleThickness:{type:"number",description:"Specifies a minimum thickness, in ems, for fraction lines, `\\sqrt` top lines, `{array}` vertical lines, `\\hline`, `\\hdashline`, `\\underline`, `\\overline`, and the borders of `\\fbox`, `\\boxed`, and `\\fcolorbox`.",processor:e=>Math.max(0,e),cli:"--min-rule-thickness ",cliProcessor:parseFloat},colorIsTextColor:{type:"boolean",description:"Makes \\color behave like LaTeX's 2-argument \\textcolor, instead of LaTeX's one-argument \\color mode change.",cli:"-b, --color-is-text-color"},strict:{type:[{enum:["warn","ignore","error"]},"boolean","function"],description:"Turn on strict / LaTeX faithfulness mode, which throws an error if the input uses features that are not supported by LaTeX.",cli:"-S, --strict",cliDefault:!1},trust:{type:["boolean","function"],description:"Trust the input, enabling all HTML features such as \\url.",cli:"-T, --trust"},maxSize:{type:"number",default:1/0,description:"If non-zero, all user-specified sizes, e.g. in \\rule{500em}{500em}, will be capped to maxSize ems. Otherwise, elements and spaces can be arbitrarily large",processor:e=>Math.max(0,e),cli:"-s, --max-size ",cliProcessor:parseInt},maxExpand:{type:"number",default:1e3,description:"Limit the number of macro expansions to the specified number, to prevent e.g. infinite macro loops. If set to Infinity, the macro expander will try to fully expand as in LaTeX.",processor:e=>Math.max(0,e),cli:"-e, --max-expand ",cliProcessor:e=>e==="Infinity"?1/0:parseInt(e)},globalGroup:{type:"boolean",cli:!1}};function Tb(e){if(e.default)return e.default;var t=e.type,r=Array.isArray(t)?t[0]:t;if(typeof r!="string")return r.enum[0];switch(r){case"boolean":return!1;case"string":return"";case"number":return 0;case"object":return{}}}class bc{constructor(t){this.displayMode=void 0,this.output=void 0,this.leqno=void 0,this.fleqn=void 0,this.throwOnError=void 0,this.errorColor=void 0,this.macros=void 0,this.minRuleThickness=void 0,this.colorIsTextColor=void 0,this.strict=void 0,this.trust=void 0,this.maxSize=void 0,this.maxExpand=void 0,this.globalGroup=void 0,t=t||{};for(var r in eo)if(eo.hasOwnProperty(r)){var n=eo[r];this[r]=t[r]!==void 0?n.processor?n.processor(t[r]):t[r]:Tb(n)}}reportNonstrict(t,r,n){var i=this.strict;if(typeof i=="function"&&(i=i(t,r,n)),!(!i||i==="ignore")){if(i===!0||i==="error")throw new Z("LaTeX-incompatible input and strict mode is set to 'error': "+(r+" ["+t+"]"),n);i==="warn"?typeof console<"u"&&console.warn("LaTeX-incompatible input and strict mode is set to 'warn': "+(r+" ["+t+"]")):typeof console<"u"&&console.warn("LaTeX-incompatible input and strict mode is set to "+("unrecognized '"+i+"': "+r+" ["+t+"]"))}}useStrictBehavior(t,r,n){var i=this.strict;if(typeof i=="function")try{i=i(t,r,n)}catch{i="error"}return!i||i==="ignore"?!1:i===!0||i==="error"?!0:i==="warn"?(typeof console<"u"&&console.warn("LaTeX-incompatible input and strict mode is set to 'warn': "+(r+" ["+t+"]")),!1):(typeof console<"u"&&console.warn("LaTeX-incompatible input and strict mode is set to "+("unrecognized '"+i+"': "+r+" ["+t+"]")),!1)}isTrusted(t){t.url&&!t.protocol&&(t.protocol=_e.protocolFromUrl(t.url));var r=typeof this.trust=="function"?this.trust(t):this.trust;return Boolean(r)}}class Xr{constructor(t,r,n){this.id=void 0,this.size=void 0,this.cramped=void 0,this.id=t,this.size=r,this.cramped=n}sup(){return ur[kb[this.id]]}sub(){return ur[Ab[this.id]]}fracNum(){return ur[Rb[this.id]]}fracDen(){return ur[Ob[this.id]]}cramp(){return ur[Mb[this.id]]}text(){return ur[Nb[this.id]]}isTight(){return this.size>=2}}var _c=0,So=1,Ai=2,Nr=3,Ya=4,Gt=5,Hi=6,Tt=7,ur=[new Xr(_c,0,!1),new Xr(So,0,!0),new Xr(Ai,1,!1),new Xr(Nr,1,!0),new Xr(Ya,2,!1),new Xr(Gt,2,!0),new Xr(Hi,3,!1),new Xr(Tt,3,!0)],kb=[Ya,Gt,Ya,Gt,Hi,Tt,Hi,Tt],Ab=[Gt,Gt,Gt,Gt,Tt,Tt,Tt,Tt],Rb=[Ai,Nr,Ya,Gt,Hi,Tt,Hi,Tt],Ob=[Nr,Nr,Gt,Gt,Tt,Tt,Tt,Tt],Mb=[So,So,Nr,Nr,Gt,Gt,Tt,Tt],Nb=[_c,So,Ai,Nr,Ai,Nr,Ai,Nr],ye={DISPLAY:ur[_c],TEXT:ur[Ai],SCRIPT:ur[Ya],SCRIPTSCRIPT:ur[Hi]},eu=[{name:"latin",blocks:[[256,591],[768,879]]},{name:"cyrillic",blocks:[[1024,1279]]},{name:"armenian",blocks:[[1328,1423]]},{name:"brahmic",blocks:[[2304,4255]]},{name:"georgian",blocks:[[4256,4351]]},{name:"cjk",blocks:[[12288,12543],[19968,40879],[65280,65376]]},{name:"hangul",blocks:[[44032,55215]]}];function Cb(e){for(var t=0;t=i[0]&&e<=i[1])return r.name}return null}var to=[];eu.forEach(e=>e.blocks.forEach(t=>to.push(...t)));function f4(e){for(var t=0;t=to[t]&&e<=to[t+1])return!0;return!1}var si=80,Ib=function(t,r){return"M95,"+(622+t+r)+` c-2.7,0,-7.17,-2.7,-13.5,-8c-5.8,-5.3,-9.5,-10,-9.5,-14 c0,-2,0.3,-3.3,1,-4c1.3,-2.7,23.83,-20.7,67.5,-54 c44.2,-33.3,65.8,-50.3,66.5,-51c1.3,-1.3,3,-2,5,-2c4.7,0,8.7,3.3,12,10 s173,378,173,378c0.7,0,35.3,-71,104,-213c68.7,-142,137.5,-285,206.5,-429 c69,-144,104.5,-217.7,106.5,-221 l`+t/2.075+" -"+t+` c5.3,-9.3,12,-14,20,-14 H400000v`+(40+t)+`H845.2724 s-225.272,467,-225.272,467s-235,486,-235,486c-2.7,4.7,-9,7,-19,7 c-6,0,-10,-1,-12,-3s-194,-422,-194,-422s-65,47,-65,47z M`+(834+t)+" "+r+"h400000v"+(40+t)+"h-400000z"},Db=function(t,r){return"M263,"+(601+t+r)+`c0.7,0,18,39.7,52,119 c34,79.3,68.167,158.7,102.5,238c34.3,79.3,51.8,119.3,52.5,120 c340,-704.7,510.7,-1060.3,512,-1067 l`+t/2.084+" -"+t+` c4.7,-7.3,11,-11,19,-11 H40000v`+(40+t)+`H1012.3 s-271.3,567,-271.3,567c-38.7,80.7,-84,175,-136,283c-52,108,-89.167,185.3,-111.5,232 c-22.3,46.7,-33.8,70.3,-34.5,71c-4.7,4.7,-12.3,7,-23,7s-12,-1,-12,-1 s-109,-253,-109,-253c-72.7,-168,-109.3,-252,-110,-252c-10.7,8,-22,16.7,-34,26 c-22,17.3,-33.3,26,-34,26s-26,-26,-26,-26s76,-59,76,-59s76,-60,76,-60z M`+(1001+t)+" "+r+"h400000v"+(40+t)+"h-400000z"},Bb=function(t,r){return"M983 "+(10+t+r)+` l`+t/3.13+" -"+t+` c4,-6.7,10,-10,18,-10 H400000v`+(40+t)+` H1013.1s-83.4,268,-264.1,840c-180.7,572,-277,876.3,-289,913c-4.7,4.7,-12.7,7,-24,7 s-12,0,-12,0c-1.3,-3.3,-3.7,-11.7,-7,-25c-35.3,-125.3,-106.7,-373.3,-214,-744 c-10,12,-21,25,-33,39s-32,39,-32,39c-6,-5.3,-15,-14,-27,-26s25,-30,25,-30 c26.7,-32.7,52,-63,76,-91s52,-60,52,-60s208,722,208,722 c56,-175.3,126.3,-397.3,211,-666c84.7,-268.7,153.8,-488.2,207.5,-658.5 c53.7,-170.3,84.5,-266.8,92.5,-289.5z M`+(1001+t)+" "+r+"h400000v"+(40+t)+"h-400000z"},Pb=function(t,r){return"M424,"+(2398+t+r)+` c-1.3,-0.7,-38.5,-172,-111.5,-514c-73,-342,-109.8,-513.3,-110.5,-514 c0,-2,-10.7,14.3,-32,49c-4.7,7.3,-9.8,15.7,-15.5,25c-5.7,9.3,-9.8,16,-12.5,20 s-5,7,-5,7c-4,-3.3,-8.3,-7.7,-13,-13s-13,-13,-13,-13s76,-122,76,-122s77,-121,77,-121 s209,968,209,968c0,-2,84.7,-361.7,254,-1079c169.3,-717.3,254.7,-1077.7,256,-1081 l`+t/4.223+" -"+t+`c4,-6.7,10,-10,18,-10 H400000 v`+(40+t)+`H1014.6 s-87.3,378.7,-272.6,1166c-185.3,787.3,-279.3,1182.3,-282,1185 c-2,6,-10,9,-24,9 c-8,0,-12,-0.7,-12,-2z M`+(1001+t)+" "+r+` h400000v`+(40+t)+"h-400000z"},Lb=function(t,r){return"M473,"+(2713+t+r)+` c339.3,-1799.3,509.3,-2700,510,-2702 l`+t/5.298+" -"+t+` c3.3,-7.3,9.3,-11,18,-11 H400000v`+(40+t)+`H1017.7 s-90.5,478,-276.2,1466c-185.7,988,-279.5,1483,-281.5,1485c-2,6,-10,9,-24,9 c-8,0,-12,-0.7,-12,-2c0,-1.3,-5.3,-32,-16,-92c-50.7,-293.3,-119.7,-693.3,-207,-1200 c0,-1.3,-5.3,8.7,-16,30c-10.7,21.3,-21.3,42.7,-32,64s-16,33,-16,33s-26,-26,-26,-26 s76,-153,76,-153s77,-151,77,-151c0.7,0.7,35.7,202,105,604c67.3,400.7,102,602.7,104, 606zM`+(1001+t)+" "+r+"h400000v"+(40+t)+"H1017.7z"},zb=function(t){var r=t/2;return"M400000 "+t+" H0 L"+r+" 0 l65 45 L145 "+(t-80)+" H400000z"},$b=function(t,r,n){var i=n-54-r-t;return"M702 "+(t+r)+"H400000"+(40+t)+` H742v`+i+`l-4 4-4 4c-.667.7 -2 1.5-4 2.5s-4.167 1.833-6.5 2.5-5.5 1-9.5 1 h-12l-28-84c-16.667-52-96.667 -294.333-240-727l-212 -643 -85 170 c-4-3.333-8.333-7.667-13 -13l-13-13l77-155 77-156c66 199.333 139 419.667 219 661 l218 661zM702 `+r+"H400000v"+(40+t)+"H742z"},Fb=function(t,r,n){r=1e3*r;var i="";switch(t){case"sqrtMain":i=Ib(r,si);break;case"sqrtSize1":i=Db(r,si);break;case"sqrtSize2":i=Bb(r,si);break;case"sqrtSize3":i=Pb(r,si);break;case"sqrtSize4":i=Lb(r,si);break;case"sqrtTall":i=$b(r,si,n)}return i},Hb=function(t,r){switch(t){case"⎜":return"M291 0 H417 V"+r+" H291z M291 0 H417 V"+r+" H291z";case"∣":return"M145 0 H188 V"+r+" H145z M145 0 H188 V"+r+" H145z";case"∥":return"M145 0 H188 V"+r+" H145z M145 0 H188 V"+r+" H145z"+("M367 0 H410 V"+r+" H367z M367 0 H410 V"+r+" H367z");case"⎟":return"M457 0 H583 V"+r+" H457z M457 0 H583 V"+r+" H457z";case"⎢":return"M319 0 H403 V"+r+" H319z M319 0 H403 V"+r+" H319z";case"⎥":return"M263 0 H347 V"+r+" H263z M263 0 H347 V"+r+" H263z";case"⎪":return"M384 0 H504 V"+r+" H384z M384 0 H504 V"+r+" H384z";case"⏐":return"M312 0 H355 V"+r+" H312z M312 0 H355 V"+r+" H312z";case"‖":return"M257 0 H300 V"+r+" H257z M257 0 H300 V"+r+" H257z"+("M478 0 H521 V"+r+" H478z M478 0 H521 V"+r+" H478z");default:return""}},Kd={doubleleftarrow:`M262 157 l10-10c34-36 62.7-77 86-123 3.3-8 5-13.3 5-16 0-5.3-6.7-8-20-8-7.3 0-12.2.5-14.5 1.5-2.3 1-4.8 4.5-7.5 10.5-49.3 97.3-121.7 169.3-217 216-28 14-57.3 25-88 33-6.7 2-11 3.8-13 5.5-2 1.7-3 4.2-3 7.5s1 5.8 3 7.5 c2 1.7 6.3 3.5 13 5.5 68 17.3 128.2 47.8 180.5 91.5 52.3 43.7 93.8 96.2 124.5 157.5 9.3 8 15.3 12.3 18 13h6c12-.7 18-4 18-10 0-2-1.7-7-5-15-23.3-46-52-87 -86-123l-10-10h399738v-40H218c328 0 0 0 0 0l-10-8c-26.7-20-65.7-43-117-69 2.7 -2 6-3.7 10-5 36.7-16 72.3-37.3 107-64l10-8h399782v-40z m8 0v40h399730v-40zm0 194v40h399730v-40z`,doublerightarrow:`M399738 392l -10 10c-34 36-62.7 77-86 123-3.3 8-5 13.3-5 16 0 5.3 6.7 8 20 8 7.3 0 12.2-.5 14.5-1.5 2.3-1 4.8-4.5 7.5-10.5 49.3-97.3 121.7-169.3 217-216 28-14 57.3-25 88 -33 6.7-2 11-3.8 13-5.5 2-1.7 3-4.2 3-7.5s-1-5.8-3-7.5c-2-1.7-6.3-3.5-13-5.5-68 -17.3-128.2-47.8-180.5-91.5-52.3-43.7-93.8-96.2-124.5-157.5-9.3-8-15.3-12.3-18 -13h-6c-12 .7-18 4-18 10 0 2 1.7 7 5 15 23.3 46 52 87 86 123l10 10H0v40h399782 c-328 0 0 0 0 0l10 8c26.7 20 65.7 43 117 69-2.7 2-6 3.7-10 5-36.7 16-72.3 37.3 -107 64l-10 8H0v40zM0 157v40h399730v-40zm0 194v40h399730v-40z`,leftarrow:`M400000 241H110l3-3c68.7-52.7 113.7-120 135-202 4-14.7 6-23 6-25 0-7.3-7-11-21-11-8 0-13.2.8-15.5 2.5-2.3 1.7-4.2 5.8 -5.5 12.5-1.3 4.7-2.7 10.3-4 17-12 48.7-34.8 92-68.5 130S65.3 228.3 18 247 c-10 4-16 7.7-18 11 0 8.7 6 14.3 18 17 47.3 18.7 87.8 47 121.5 85S196 441.3 208 490c.7 2 1.3 5 2 9s1.2 6.7 1.5 8c.3 1.3 1 3.3 2 6s2.2 4.5 3.5 5.5c1.3 1 3.3 1.8 6 2.5s6 1 10 1c14 0 21-3.7 21-11 0-2-2-10.3-6-25-20-79.3-65-146.7-135-202 l-3-3h399890zM100 241v40h399900v-40z`,leftbrace:`M6 548l-6-6v-35l6-11c56-104 135.3-181.3 238-232 57.3-28.7 117 -45 179-50h399577v120H403c-43.3 7-81 15-113 26-100.7 33-179.7 91-237 174-2.7 5-6 9-10 13-.7 1-7.3 1-20 1H6z`,leftbraceunder:`M0 6l6-6h17c12.688 0 19.313.3 20 1 4 4 7.313 8.3 10 13 35.313 51.3 80.813 93.8 136.5 127.5 55.688 33.7 117.188 55.8 184.5 66.5.688 0 2 .3 4 1 18.688 2.7 76 4.3 172 5h399450v120H429l-6-1c-124.688-8-235-61.7 -331-161C60.687 138.7 32.312 99.3 7 54L0 41V6z`,leftgroup:`M400000 80 H435C64 80 168.3 229.4 21 260c-5.9 1.2-18 0-18 0-2 0-3-1-3-3v-38C76 61 257 0 435 0h399565z`,leftgroupunder:`M400000 262 H435C64 262 168.3 112.6 21 82c-5.9-1.2-18 0-18 0-2 0-3 1-3 3v38c76 158 257 219 435 219h399565z`,leftharpoon:`M0 267c.7 5.3 3 10 7 14h399993v-40H93c3.3 -3.3 10.2-9.5 20.5-18.5s17.8-15.8 22.5-20.5c50.7-52 88-110.3 112-175 4-11.3 5 -18.3 3-21-1.3-4-7.3-6-18-6-8 0-13 .7-15 2s-4.7 6.7-8 16c-42 98.7-107.3 174.7 -196 228-6.7 4.7-10.7 8-12 10-1.3 2-2 5.7-2 11zm100-26v40h399900v-40z`,leftharpoonplus:`M0 267c.7 5.3 3 10 7 14h399993v-40H93c3.3-3.3 10.2-9.5 20.5-18.5s17.8-15.8 22.5-20.5c50.7-52 88-110.3 112-175 4-11.3 5-18.3 3-21-1.3 -4-7.3-6-18-6-8 0-13 .7-15 2s-4.7 6.7-8 16c-42 98.7-107.3 174.7-196 228-6.7 4.7 -10.7 8-12 10-1.3 2-2 5.7-2 11zm100-26v40h399900v-40zM0 435v40h400000v-40z m0 0v40h400000v-40z`,leftharpoondown:`M7 241c-4 4-6.333 8.667-7 14 0 5.333.667 9 2 11s5.333 5.333 12 10c90.667 54 156 130 196 228 3.333 10.667 6.333 16.333 9 17 2 .667 5 1 9 1h5c10.667 0 16.667-2 18-6 2-2.667 1-9.667-3-21-32-87.333-82.667-157.667 -152-211l-3-3h399907v-40zM93 281 H400000 v-40L7 241z`,leftharpoondownplus:`M7 435c-4 4-6.3 8.7-7 14 0 5.3.7 9 2 11s5.3 5.3 12 10c90.7 54 156 130 196 228 3.3 10.7 6.3 16.3 9 17 2 .7 5 1 9 1h5c10.7 0 16.7 -2 18-6 2-2.7 1-9.7-3-21-32-87.3-82.7-157.7-152-211l-3-3h399907v-40H7zm93 0 v40h399900v-40zM0 241v40h399900v-40zm0 0v40h399900v-40z`,lefthook:`M400000 281 H103s-33-11.2-61-33.5S0 197.3 0 164s14.2-61.2 42.5 -83.5C70.8 58.2 104 47 142 47 c16.7 0 25 6.7 25 20 0 12-8.7 18.7-26 20-40 3.3 -68.7 15.7-86 37-10 12-15 25.3-15 40 0 22.7 9.8 40.7 29.5 54 19.7 13.3 43.5 21 71.5 23h399859zM103 281v-40h399897v40z`,leftlinesegment:`M40 281 V428 H0 V94 H40 V241 H400000 v40z M40 281 V428 H0 V94 H40 V241 H400000 v40z`,leftmapsto:`M40 281 V448H0V74H40V241H400000v40z M40 281 V448H0V74H40V241H400000v40z`,leftToFrom:`M0 147h400000v40H0zm0 214c68 40 115.7 95.7 143 167h22c15.3 0 23 -.3 23-1 0-1.3-5.3-13.7-16-37-18-35.3-41.3-69-70-101l-7-8h399905v-40H95l7-8 c28.7-32 52-65.7 70-101 10.7-23.3 16-35.7 16-37 0-.7-7.7-1-23-1h-22C115.7 265.3 68 321 0 361zm0-174v-40h399900v40zm100 154v40h399900v-40z`,longequal:`M0 50 h400000 v40H0z m0 194h40000v40H0z M0 50 h400000 v40H0z m0 194h40000v40H0z`,midbrace:`M200428 334 c-100.7-8.3-195.3-44-280-108-55.3-42-101.7-93-139-153l-9-14c-2.7 4-5.7 8.7-9 14 -53.3 86.7-123.7 153-211 199-66.7 36-137.3 56.3-212 62H0V214h199568c178.3-11.7 311.7-78.3 403-201 6-8 9.7-12 11-12 .7-.7 6.7-1 18-1s17.3.3 18 1c1.3 0 5 4 11 12 44.7 59.3 101.3 106.3 170 141s145.3 54.3 229 60h199572v120z`,midbraceunder:`M199572 214 c100.7 8.3 195.3 44 280 108 55.3 42 101.7 93 139 153l9 14c2.7-4 5.7-8.7 9-14 53.3-86.7 123.7-153 211-199 66.7-36 137.3-56.3 212-62h199568v120H200432c-178.3 11.7-311.7 78.3-403 201-6 8-9.7 12-11 12-.7.7-6.7 1-18 1s-17.3-.3-18-1c-1.3 0 -5-4-11-12-44.7-59.3-101.3-106.3-170-141s-145.3-54.3-229-60H0V214z`,oiintSize1:`M512.6 71.6c272.6 0 320.3 106.8 320.3 178.2 0 70.8-47.7 177.6 -320.3 177.6S193.1 320.6 193.1 249.8c0-71.4 46.9-178.2 319.5-178.2z m368.1 178.2c0-86.4-60.9-215.4-368.1-215.4-306.4 0-367.3 129-367.3 215.4 0 85.8 60.9 214.8 367.3 214.8 307.2 0 368.1-129 368.1-214.8z`,oiintSize2:`M757.8 100.1c384.7 0 451.1 137.6 451.1 230 0 91.3-66.4 228.8 -451.1 228.8-386.3 0-452.7-137.5-452.7-228.8 0-92.4 66.4-230 452.7-230z m502.4 230c0-111.2-82.4-277.2-502.4-277.2s-504 166-504 277.2 c0 110 84 276 504 276s502.4-166 502.4-276z`,oiiintSize1:`M681.4 71.6c408.9 0 480.5 106.8 480.5 178.2 0 70.8-71.6 177.6 -480.5 177.6S202.1 320.6 202.1 249.8c0-71.4 70.5-178.2 479.3-178.2z m525.8 178.2c0-86.4-86.8-215.4-525.7-215.4-437.9 0-524.7 129-524.7 215.4 0 85.8 86.8 214.8 524.7 214.8 438.9 0 525.7-129 525.7-214.8z`,oiiintSize2:`M1021.2 53c603.6 0 707.8 165.8 707.8 277.2 0 110-104.2 275.8 -707.8 275.8-606 0-710.2-165.8-710.2-275.8C311 218.8 415.2 53 1021.2 53z m770.4 277.1c0-131.2-126.4-327.6-770.5-327.6S248.4 198.9 248.4 330.1 c0 130 128.8 326.4 772.7 326.4s770.5-196.4 770.5-326.4z`,rightarrow:`M0 241v40h399891c-47.3 35.3-84 78-110 128 -16.7 32-27.7 63.7-33 95 0 1.3-.2 2.7-.5 4-.3 1.3-.5 2.3-.5 3 0 7.3 6.7 11 20 11 8 0 13.2-.8 15.5-2.5 2.3-1.7 4.2-5.5 5.5-11.5 2-13.3 5.7-27 11-41 14.7-44.7 39-84.5 73-119.5s73.7-60.2 119-75.5c6-2 9-5.7 9-11s-3-9-9-11c-45.3-15.3-85 -40.5-119-75.5s-58.3-74.8-73-119.5c-4.7-14-8.3-27.3-11-40-1.3-6.7-3.2-10.8-5.5 -12.5-2.3-1.7-7.5-2.5-15.5-2.5-14 0-21 3.7-21 11 0 2 2 10.3 6 25 20.7 83.3 67 151.7 139 205zm0 0v40h399900v-40z`,rightbrace:`M400000 542l -6 6h-17c-12.7 0-19.3-.3-20-1-4-4-7.3-8.3-10-13-35.3-51.3-80.8-93.8-136.5-127.5 s-117.2-55.8-184.5-66.5c-.7 0-2-.3-4-1-18.7-2.7-76-4.3-172-5H0V214h399571l6 1 c124.7 8 235 61.7 331 161 31.3 33.3 59.7 72.7 85 118l7 13v35z`,rightbraceunder:`M399994 0l6 6v35l-6 11c-56 104-135.3 181.3-238 232-57.3 28.7-117 45-179 50H-300V214h399897c43.3-7 81-15 113-26 100.7-33 179.7-91 237 -174 2.7-5 6-9 10-13 .7-1 7.3-1 20-1h17z`,rightgroup:`M0 80h399565c371 0 266.7 149.4 414 180 5.9 1.2 18 0 18 0 2 0 3-1 3-3v-38c-76-158-257-219-435-219H0z`,rightgroupunder:`M0 262h399565c371 0 266.7-149.4 414-180 5.9-1.2 18 0 18 0 2 0 3 1 3 3v38c-76 158-257 219-435 219H0z`,rightharpoon:`M0 241v40h399993c4.7-4.7 7-9.3 7-14 0-9.3 -3.7-15.3-11-18-92.7-56.7-159-133.7-199-231-3.3-9.3-6-14.7-8-16-2-1.3-7-2-15-2 -10.7 0-16.7 2-18 6-2 2.7-1 9.7 3 21 15.3 42 36.7 81.8 64 119.5 27.3 37.7 58 69.2 92 94.5zm0 0v40h399900v-40z`,rightharpoonplus:`M0 241v40h399993c4.7-4.7 7-9.3 7-14 0-9.3-3.7-15.3-11 -18-92.7-56.7-159-133.7-199-231-3.3-9.3-6-14.7-8-16-2-1.3-7-2-15-2-10.7 0-16.7 2-18 6-2 2.7-1 9.7 3 21 15.3 42 36.7 81.8 64 119.5 27.3 37.7 58 69.2 92 94.5z m0 0v40h399900v-40z m100 194v40h399900v-40zm0 0v40h399900v-40z`,rightharpoondown:`M399747 511c0 7.3 6.7 11 20 11 8 0 13-.8 15-2.5s4.7-6.8 8-15.5c40-94 99.3-166.3 178-217 13.3-8 20.3-12.3 21-13 5.3-3.3 8.5-5.8 9.5 -7.5 1-1.7 1.5-5.2 1.5-10.5s-2.3-10.3-7-15H0v40h399908c-34 25.3-64.7 57-92 95 -27.3 38-48.7 77.7-64 119-3.3 8.7-5 14-5 16zM0 241v40h399900v-40z`,rightharpoondownplus:`M399747 705c0 7.3 6.7 11 20 11 8 0 13-.8 15-2.5s4.7-6.8 8-15.5c40-94 99.3-166.3 178-217 13.3-8 20.3-12.3 21-13 5.3-3.3 8.5-5.8 9.5-7.5 1-1.7 1.5-5.2 1.5-10.5s-2.3-10.3-7-15H0v40h399908c-34 25.3 -64.7 57-92 95-27.3 38-48.7 77.7-64 119-3.3 8.7-5 14-5 16zM0 435v40h399900v-40z m0-194v40h400000v-40zm0 0v40h400000v-40z`,righthook:`M399859 241c-764 0 0 0 0 0 40-3.3 68.7-15.7 86-37 10-12 15-25.3 15-40 0-22.7-9.8-40.7-29.5-54-19.7-13.3-43.5-21-71.5-23-17.3-1.3-26-8-26-20 0 -13.3 8.7-20 26-20 38 0 71 11.2 99 33.5 0 0 7 5.6 21 16.7 14 11.2 21 33.5 21 66.8s-14 61.2-42 83.5c-28 22.3-61 33.5-99 33.5L0 241z M0 281v-40h399859v40z`,rightlinesegment:`M399960 241 V94 h40 V428 h-40 V281 H0 v-40z M399960 241 V94 h40 V428 h-40 V281 H0 v-40z`,rightToFrom:`M400000 167c-70.7-42-118-97.7-142-167h-23c-15.3 0-23 .3-23 1 0 1.3 5.3 13.7 16 37 18 35.3 41.3 69 70 101l7 8H0v40h399905l-7 8c-28.7 32 -52 65.7-70 101-10.7 23.3-16 35.7-16 37 0 .7 7.7 1 23 1h23c24-69.3 71.3-125 142 -167z M100 147v40h399900v-40zM0 341v40h399900v-40z`,twoheadleftarrow:`M0 167c68 40 115.7 95.7 143 167h22c15.3 0 23-.3 23-1 0-1.3-5.3-13.7-16-37-18-35.3-41.3-69 -70-101l-7-8h125l9 7c50.7 39.3 85 86 103 140h46c0-4.7-6.3-18.7-19-42-18-35.3 -40-67.3-66-96l-9-9h399716v-40H284l9-9c26-28.7 48-60.7 66-96 12.7-23.333 19 -37.333 19-42h-46c-18 54-52.3 100.7-103 140l-9 7H95l7-8c28.7-32 52-65.7 70-101 10.7-23.333 16-35.7 16-37 0-.7-7.7-1-23-1h-22C115.7 71.3 68 127 0 167z`,twoheadrightarrow:`M400000 167 c-68-40-115.7-95.7-143-167h-22c-15.3 0-23 .3-23 1 0 1.3 5.3 13.7 16 37 18 35.3 41.3 69 70 101l7 8h-125l-9-7c-50.7-39.3-85-86-103-140h-46c0 4.7 6.3 18.7 19 42 18 35.3 40 67.3 66 96l9 9H0v40h399716l-9 9c-26 28.7-48 60.7-66 96-12.7 23.333 -19 37.333-19 42h46c18-54 52.3-100.7 103-140l9-7h125l-7 8c-28.7 32-52 65.7-70 101-10.7 23.333-16 35.7-16 37 0 .7 7.7 1 23 1h22c27.3-71.3 75-127 143-167z`,tilde1:`M200 55.538c-77 0-168 73.953-177 73.953-3 0-7 -2.175-9-5.437L2 97c-1-2-2-4-2-6 0-4 2-7 5-9l20-12C116 12 171 0 207 0c86 0 114 68 191 68 78 0 168-68 177-68 4 0 7 2 9 5l12 19c1 2.175 2 4.35 2 6.525 0 4.35-2 7.613-5 9.788l-19 13.05c-92 63.077-116.937 75.308-183 76.128 -68.267.847-113-73.952-191-73.952z`,tilde2:`M344 55.266c-142 0-300.638 81.316-311.5 86.418 -8.01 3.762-22.5 10.91-23.5 5.562L1 120c-1-2-1-3-1-4 0-5 3-9 8-10l18.4-9C160.9 31.9 283 0 358 0c148 0 188 122 331 122s314-97 326-97c4 0 8 2 10 7l7 21.114 c1 2.14 1 3.21 1 4.28 0 5.347-3 9.626-7 10.696l-22.3 12.622C852.6 158.372 751 181.476 676 181.476c-149 0-189-126.21-332-126.21z`,tilde3:`M786 59C457 59 32 175.242 13 175.242c-6 0-10-3.457 -11-10.37L.15 138c-1-7 3-12 10-13l19.2-6.4C378.4 40.7 634.3 0 804.3 0c337 0 411.8 157 746.8 157 328 0 754-112 773-112 5 0 10 3 11 9l1 14.075c1 8.066-.697 16.595-6.697 17.492l-21.052 7.31c-367.9 98.146-609.15 122.696-778.15 122.696 -338 0-409-156.573-744-156.573z`,tilde4:`M786 58C457 58 32 177.487 13 177.487c-6 0-10-3.345 -11-10.035L.15 143c-1-7 3-12 10-13l22-6.7C381.2 35 637.15 0 807.15 0c337 0 409 177 744 177 328 0 754-127 773-127 5 0 10 3 11 9l1 14.794c1 7.805-3 13.38-9 14.495l-20.7 5.574c-366.85 99.79-607.3 139.372-776.3 139.372-338 0-409 -175.236-744-175.236z`,vec:`M377 20c0-5.333 1.833-10 5.5-14S391 0 397 0c4.667 0 8.667 1.667 12 5 3.333 2.667 6.667 9 10 19 6.667 24.667 20.333 43.667 41 57 7.333 4.667 11 10.667 11 18 0 6-1 10-3 12s-6.667 5-14 9c-28.667 14.667-53.667 35.667-75 63 -1.333 1.333-3.167 3.5-5.5 6.5s-4 4.833-5 5.5c-1 .667-2.5 1.333-4.5 2s-4.333 1 -7 1c-4.667 0-9.167-1.833-13.5-5.5S337 184 337 178c0-12.667 15.667-32.333 47-59 H213l-171-1c-8.667-6-13-12.333-13-19 0-4.667 4.333-11.333 13-20h359 c-16-25.333-24-45-24-59z`,widehat1:`M529 0h5l519 115c5 1 9 5 9 10 0 1-1 2-1 3l-4 22 c-1 5-5 9-11 9h-2L532 67 19 159h-2c-5 0-9-4-11-9l-5-22c-1-6 2-12 8-13z`,widehat2:`M1181 0h2l1171 176c6 0 10 5 10 11l-2 23c-1 6-5 10 -11 10h-1L1182 67 15 220h-1c-6 0-10-4-11-10l-2-23c-1-6 4-11 10-11z`,widehat3:`M1181 0h2l1171 236c6 0 10 5 10 11l-2 23c-1 6-5 10 -11 10h-1L1182 67 15 280h-1c-6 0-10-4-11-10l-2-23c-1-6 4-11 10-11z`,widehat4:`M1181 0h2l1171 296c6 0 10 5 10 11l-2 23c-1 6-5 10 -11 10h-1L1182 67 15 340h-1c-6 0-10-4-11-10l-2-23c-1-6 4-11 10-11z`,widecheck1:`M529,159h5l519,-115c5,-1,9,-5,9,-10c0,-1,-1,-2,-1,-3l-4,-22c-1, -5,-5,-9,-11,-9h-2l-512,92l-513,-92h-2c-5,0,-9,4,-11,9l-5,22c-1,6,2,12,8,13z`,widecheck2:`M1181,220h2l1171,-176c6,0,10,-5,10,-11l-2,-23c-1,-6,-5,-10, -11,-10h-1l-1168,153l-1167,-153h-1c-6,0,-10,4,-11,10l-2,23c-1,6,4,11,10,11z`,widecheck3:`M1181,280h2l1171,-236c6,0,10,-5,10,-11l-2,-23c-1,-6,-5,-10, -11,-10h-1l-1168,213l-1167,-213h-1c-6,0,-10,4,-11,10l-2,23c-1,6,4,11,10,11z`,widecheck4:`M1181,340h2l1171,-296c6,0,10,-5,10,-11l-2,-23c-1,-6,-5,-10, -11,-10h-1l-1168,273l-1167,-273h-1c-6,0,-10,4,-11,10l-2,23c-1,6,4,11,10,11z`,baraboveleftarrow:`M400000 620h-399890l3 -3c68.7 -52.7 113.7 -120 135 -202 c4 -14.7 6 -23 6 -25c0 -7.3 -7 -11 -21 -11c-8 0 -13.2 0.8 -15.5 2.5 c-2.3 1.7 -4.2 5.8 -5.5 12.5c-1.3 4.7 -2.7 10.3 -4 17c-12 48.7 -34.8 92 -68.5 130 s-74.2 66.3 -121.5 85c-10 4 -16 7.7 -18 11c0 8.7 6 14.3 18 17c47.3 18.7 87.8 47 121.5 85s56.5 81.3 68.5 130c0.7 2 1.3 5 2 9s1.2 6.7 1.5 8c0.3 1.3 1 3.3 2 6 s2.2 4.5 3.5 5.5c1.3 1 3.3 1.8 6 2.5s6 1 10 1c14 0 21 -3.7 21 -11 c0 -2 -2 -10.3 -6 -25c-20 -79.3 -65 -146.7 -135 -202l-3 -3h399890z M100 620v40h399900v-40z M0 241v40h399900v-40zM0 241v40h399900v-40z`,rightarrowabovebar:`M0 241v40h399891c-47.3 35.3-84 78-110 128-16.7 32 -27.7 63.7-33 95 0 1.3-.2 2.7-.5 4-.3 1.3-.5 2.3-.5 3 0 7.3 6.7 11 20 11 8 0 13.2-.8 15.5-2.5 2.3-1.7 4.2-5.5 5.5-11.5 2-13.3 5.7-27 11-41 14.7-44.7 39 -84.5 73-119.5s73.7-60.2 119-75.5c6-2 9-5.7 9-11s-3-9-9-11c-45.3-15.3-85-40.5 -119-75.5s-58.3-74.8-73-119.5c-4.7-14-8.3-27.3-11-40-1.3-6.7-3.2-10.8-5.5 -12.5-2.3-1.7-7.5-2.5-15.5-2.5-14 0-21 3.7-21 11 0 2 2 10.3 6 25 20.7 83.3 67 151.7 139 205zm96 379h399894v40H0zm0 0h399904v40H0z`,baraboveshortleftharpoon:`M507,435c-4,4,-6.3,8.7,-7,14c0,5.3,0.7,9,2,11 c1.3,2,5.3,5.3,12,10c90.7,54,156,130,196,228c3.3,10.7,6.3,16.3,9,17 c2,0.7,5,1,9,1c0,0,5,0,5,0c10.7,0,16.7,-2,18,-6c2,-2.7,1,-9.7,-3,-21 c-32,-87.3,-82.7,-157.7,-152,-211c0,0,-3,-3,-3,-3l399351,0l0,-40 c-398570,0,-399437,0,-399437,0z M593 435 v40 H399500 v-40z M0 281 v-40 H399908 v40z M0 281 v-40 H399908 v40z`,rightharpoonaboveshortbar:`M0,241 l0,40c399126,0,399993,0,399993,0 c4.7,-4.7,7,-9.3,7,-14c0,-9.3,-3.7,-15.3,-11,-18c-92.7,-56.7,-159,-133.7,-199, -231c-3.3,-9.3,-6,-14.7,-8,-16c-2,-1.3,-7,-2,-15,-2c-10.7,0,-16.7,2,-18,6 c-2,2.7,-1,9.7,3,21c15.3,42,36.7,81.8,64,119.5c27.3,37.7,58,69.2,92,94.5z M0 241 v40 H399908 v-40z M0 475 v-40 H399500 v40z M0 475 v-40 H399500 v40z`,shortbaraboveleftharpoon:`M7,435c-4,4,-6.3,8.7,-7,14c0,5.3,0.7,9,2,11 c1.3,2,5.3,5.3,12,10c90.7,54,156,130,196,228c3.3,10.7,6.3,16.3,9,17c2,0.7,5,1,9, 1c0,0,5,0,5,0c10.7,0,16.7,-2,18,-6c2,-2.7,1,-9.7,-3,-21c-32,-87.3,-82.7,-157.7, -152,-211c0,0,-3,-3,-3,-3l399907,0l0,-40c-399126,0,-399993,0,-399993,0z M93 435 v40 H400000 v-40z M500 241 v40 H400000 v-40z M500 241 v40 H400000 v-40z`,shortrightharpoonabovebar:`M53,241l0,40c398570,0,399437,0,399437,0 c4.7,-4.7,7,-9.3,7,-14c0,-9.3,-3.7,-15.3,-11,-18c-92.7,-56.7,-159,-133.7,-199, -231c-3.3,-9.3,-6,-14.7,-8,-16c-2,-1.3,-7,-2,-15,-2c-10.7,0,-16.7,2,-18,6 c-2,2.7,-1,9.7,3,21c15.3,42,36.7,81.8,64,119.5c27.3,37.7,58,69.2,92,94.5z M500 241 v40 H399408 v-40z M500 435 v40 H400000 v-40z`},Ub=function(t,r){switch(t){case"lbrack":return"M403 1759 V84 H666 V0 H319 V1759 v"+r+` v1759 h347 v-84 H403z M403 1759 V0 H319 V1759 v`+r+" v1759 h84z";case"rbrack":return"M347 1759 V0 H0 V84 H263 V1759 v"+r+` v1759 H0 v84 H347z M347 1759 V0 H263 V1759 v`+r+" v1759 h84z";case"vert":return"M145 15 v585 v"+r+` v585 c2.667,10,9.667,15,21,15 c10,0,16.667,-5,20,-15 v-585 v`+-r+` v-585 c-2.667,-10,-9.667,-15,-21,-15 c-10,0,-16.667,5,-20,15z M188 15 H145 v585 v`+r+" v585 h43z";case"doublevert":return"M145 15 v585 v"+r+` v585 c2.667,10,9.667,15,21,15 c10,0,16.667,-5,20,-15 v-585 v`+-r+` v-585 c-2.667,-10,-9.667,-15,-21,-15 c-10,0,-16.667,5,-20,15z M188 15 H145 v585 v`+r+` v585 h43z M367 15 v585 v`+r+` v585 c2.667,10,9.667,15,21,15 c10,0,16.667,-5,20,-15 v-585 v`+-r+` v-585 c-2.667,-10,-9.667,-15,-21,-15 c-10,0,-16.667,5,-20,15z M410 15 H367 v585 v`+r+" v585 h43z";case"lfloor":return"M319 602 V0 H403 V602 v"+r+` v1715 h263 v84 H319z MM319 602 V0 H403 V602 v`+r+" v1715 H319z";case"rfloor":return"M319 602 V0 H403 V602 v"+r+` v1799 H0 v-84 H319z MM319 602 V0 H403 V602 v`+r+" v1715 H319z";case"lceil":return"M403 1759 V84 H666 V0 H319 V1759 v"+r+` v602 h84z M403 1759 V0 H319 V1759 v`+r+" v602 h84z";case"rceil":return"M347 1759 V0 H0 V84 H263 V1759 v"+r+` v602 h84z M347 1759 V0 h-84 V1759 v`+r+" v602 h84z";case"lparen":return`M863,9c0,-2,-2,-5,-6,-9c0,0,-17,0,-17,0c-12.7,0,-19.3,0.3,-20,1 c-5.3,5.3,-10.3,11,-15,17c-242.7,294.7,-395.3,682,-458,1162c-21.3,163.3,-33.3,349, -36,557 l0,`+(r+84)+`c0.2,6,0,26,0,60c2,159.3,10,310.7,24,454c53.3,528,210, 949.7,470,1265c4.7,6,9.7,11.7,15,17c0.7,0.7,7,1,19,1c0,0,18,0,18,0c4,-4,6,-7,6,-9 c0,-2.7,-3.3,-8.7,-10,-18c-135.3,-192.7,-235.5,-414.3,-300.5,-665c-65,-250.7,-102.5, -544.7,-112.5,-882c-2,-104,-3,-167,-3,-189 l0,-`+(r+92)+`c0,-162.7,5.7,-314,17,-454c20.7,-272,63.7,-513,129,-723c65.3, -210,155.3,-396.3,270,-559c6.7,-9.3,10,-15.3,10,-18z`;case"rparen":return`M76,0c-16.7,0,-25,3,-25,9c0,2,2,6.3,6,13c21.3,28.7,42.3,60.3, 63,95c96.7,156.7,172.8,332.5,228.5,527.5c55.7,195,92.8,416.5,111.5,664.5 c11.3,139.3,17,290.7,17,454c0,28,1.7,43,3.3,45l0,`+(r+9)+` c-3,4,-3.3,16.7,-3.3,38c0,162,-5.7,313.7,-17,455c-18.7,248,-55.8,469.3,-111.5,664 c-55.7,194.7,-131.8,370.3,-228.5,527c-20.7,34.7,-41.7,66.3,-63,95c-2,3.3,-4,7,-6,11 c0,7.3,5.7,11,17,11c0,0,11,0,11,0c9.3,0,14.3,-0.3,15,-1c5.3,-5.3,10.3,-11,15,-17 c242.7,-294.7,395.3,-681.7,458,-1161c21.3,-164.7,33.3,-350.7,36,-558 l0,-`+(r+144)+`c-2,-159.3,-10,-310.7,-24,-454c-53.3,-528,-210,-949.7, -470,-1265c-4.7,-6,-9.7,-11.7,-15,-17c-0.7,-0.7,-6.7,-1,-18,-1z`;default:throw new Error("Unknown stretchy delimiter.")}};class hs{constructor(t){this.children=void 0,this.classes=void 0,this.height=void 0,this.depth=void 0,this.maxFontSize=void 0,this.style=void 0,this.children=t,this.classes=[],this.height=0,this.depth=0,this.maxFontSize=0,this.style={}}hasClass(t){return _e.contains(this.classes,t)}toNode(){for(var t=document.createDocumentFragment(),r=0;rr.toText();return this.children.map(t).join("")}}var dr={"AMS-Regular":{32:[0,0,0,0,.25],65:[0,.68889,0,0,.72222],66:[0,.68889,0,0,.66667],67:[0,.68889,0,0,.72222],68:[0,.68889,0,0,.72222],69:[0,.68889,0,0,.66667],70:[0,.68889,0,0,.61111],71:[0,.68889,0,0,.77778],72:[0,.68889,0,0,.77778],73:[0,.68889,0,0,.38889],74:[.16667,.68889,0,0,.5],75:[0,.68889,0,0,.77778],76:[0,.68889,0,0,.66667],77:[0,.68889,0,0,.94445],78:[0,.68889,0,0,.72222],79:[.16667,.68889,0,0,.77778],80:[0,.68889,0,0,.61111],81:[.16667,.68889,0,0,.77778],82:[0,.68889,0,0,.72222],83:[0,.68889,0,0,.55556],84:[0,.68889,0,0,.66667],85:[0,.68889,0,0,.72222],86:[0,.68889,0,0,.72222],87:[0,.68889,0,0,1],88:[0,.68889,0,0,.72222],89:[0,.68889,0,0,.72222],90:[0,.68889,0,0,.66667],107:[0,.68889,0,0,.55556],160:[0,0,0,0,.25],165:[0,.675,.025,0,.75],174:[.15559,.69224,0,0,.94666],240:[0,.68889,0,0,.55556],295:[0,.68889,0,0,.54028],710:[0,.825,0,0,2.33334],732:[0,.9,0,0,2.33334],770:[0,.825,0,0,2.33334],771:[0,.9,0,0,2.33334],989:[.08167,.58167,0,0,.77778],1008:[0,.43056,.04028,0,.66667],8245:[0,.54986,0,0,.275],8463:[0,.68889,0,0,.54028],8487:[0,.68889,0,0,.72222],8498:[0,.68889,0,0,.55556],8502:[0,.68889,0,0,.66667],8503:[0,.68889,0,0,.44445],8504:[0,.68889,0,0,.66667],8513:[0,.68889,0,0,.63889],8592:[-.03598,.46402,0,0,.5],8594:[-.03598,.46402,0,0,.5],8602:[-.13313,.36687,0,0,1],8603:[-.13313,.36687,0,0,1],8606:[.01354,.52239,0,0,1],8608:[.01354,.52239,0,0,1],8610:[.01354,.52239,0,0,1.11111],8611:[.01354,.52239,0,0,1.11111],8619:[0,.54986,0,0,1],8620:[0,.54986,0,0,1],8621:[-.13313,.37788,0,0,1.38889],8622:[-.13313,.36687,0,0,1],8624:[0,.69224,0,0,.5],8625:[0,.69224,0,0,.5],8630:[0,.43056,0,0,1],8631:[0,.43056,0,0,1],8634:[.08198,.58198,0,0,.77778],8635:[.08198,.58198,0,0,.77778],8638:[.19444,.69224,0,0,.41667],8639:[.19444,.69224,0,0,.41667],8642:[.19444,.69224,0,0,.41667],8643:[.19444,.69224,0,0,.41667],8644:[.1808,.675,0,0,1],8646:[.1808,.675,0,0,1],8647:[.1808,.675,0,0,1],8648:[.19444,.69224,0,0,.83334],8649:[.1808,.675,0,0,1],8650:[.19444,.69224,0,0,.83334],8651:[.01354,.52239,0,0,1],8652:[.01354,.52239,0,0,1],8653:[-.13313,.36687,0,0,1],8654:[-.13313,.36687,0,0,1],8655:[-.13313,.36687,0,0,1],8666:[.13667,.63667,0,0,1],8667:[.13667,.63667,0,0,1],8669:[-.13313,.37788,0,0,1],8672:[-.064,.437,0,0,1.334],8674:[-.064,.437,0,0,1.334],8705:[0,.825,0,0,.5],8708:[0,.68889,0,0,.55556],8709:[.08167,.58167,0,0,.77778],8717:[0,.43056,0,0,.42917],8722:[-.03598,.46402,0,0,.5],8724:[.08198,.69224,0,0,.77778],8726:[.08167,.58167,0,0,.77778],8733:[0,.69224,0,0,.77778],8736:[0,.69224,0,0,.72222],8737:[0,.69224,0,0,.72222],8738:[.03517,.52239,0,0,.72222],8739:[.08167,.58167,0,0,.22222],8740:[.25142,.74111,0,0,.27778],8741:[.08167,.58167,0,0,.38889],8742:[.25142,.74111,0,0,.5],8756:[0,.69224,0,0,.66667],8757:[0,.69224,0,0,.66667],8764:[-.13313,.36687,0,0,.77778],8765:[-.13313,.37788,0,0,.77778],8769:[-.13313,.36687,0,0,.77778],8770:[-.03625,.46375,0,0,.77778],8774:[.30274,.79383,0,0,.77778],8776:[-.01688,.48312,0,0,.77778],8778:[.08167,.58167,0,0,.77778],8782:[.06062,.54986,0,0,.77778],8783:[.06062,.54986,0,0,.77778],8785:[.08198,.58198,0,0,.77778],8786:[.08198,.58198,0,0,.77778],8787:[.08198,.58198,0,0,.77778],8790:[0,.69224,0,0,.77778],8791:[.22958,.72958,0,0,.77778],8796:[.08198,.91667,0,0,.77778],8806:[.25583,.75583,0,0,.77778],8807:[.25583,.75583,0,0,.77778],8808:[.25142,.75726,0,0,.77778],8809:[.25142,.75726,0,0,.77778],8812:[.25583,.75583,0,0,.5],8814:[.20576,.70576,0,0,.77778],8815:[.20576,.70576,0,0,.77778],8816:[.30274,.79383,0,0,.77778],8817:[.30274,.79383,0,0,.77778],8818:[.22958,.72958,0,0,.77778],8819:[.22958,.72958,0,0,.77778],8822:[.1808,.675,0,0,.77778],8823:[.1808,.675,0,0,.77778],8828:[.13667,.63667,0,0,.77778],8829:[.13667,.63667,0,0,.77778],8830:[.22958,.72958,0,0,.77778],8831:[.22958,.72958,0,0,.77778],8832:[.20576,.70576,0,0,.77778],8833:[.20576,.70576,0,0,.77778],8840:[.30274,.79383,0,0,.77778],8841:[.30274,.79383,0,0,.77778],8842:[.13597,.63597,0,0,.77778],8843:[.13597,.63597,0,0,.77778],8847:[.03517,.54986,0,0,.77778],8848:[.03517,.54986,0,0,.77778],8858:[.08198,.58198,0,0,.77778],8859:[.08198,.58198,0,0,.77778],8861:[.08198,.58198,0,0,.77778],8862:[0,.675,0,0,.77778],8863:[0,.675,0,0,.77778],8864:[0,.675,0,0,.77778],8865:[0,.675,0,0,.77778],8872:[0,.69224,0,0,.61111],8873:[0,.69224,0,0,.72222],8874:[0,.69224,0,0,.88889],8876:[0,.68889,0,0,.61111],8877:[0,.68889,0,0,.61111],8878:[0,.68889,0,0,.72222],8879:[0,.68889,0,0,.72222],8882:[.03517,.54986,0,0,.77778],8883:[.03517,.54986,0,0,.77778],8884:[.13667,.63667,0,0,.77778],8885:[.13667,.63667,0,0,.77778],8888:[0,.54986,0,0,1.11111],8890:[.19444,.43056,0,0,.55556],8891:[.19444,.69224,0,0,.61111],8892:[.19444,.69224,0,0,.61111],8901:[0,.54986,0,0,.27778],8903:[.08167,.58167,0,0,.77778],8905:[.08167,.58167,0,0,.77778],8906:[.08167,.58167,0,0,.77778],8907:[0,.69224,0,0,.77778],8908:[0,.69224,0,0,.77778],8909:[-.03598,.46402,0,0,.77778],8910:[0,.54986,0,0,.76042],8911:[0,.54986,0,0,.76042],8912:[.03517,.54986,0,0,.77778],8913:[.03517,.54986,0,0,.77778],8914:[0,.54986,0,0,.66667],8915:[0,.54986,0,0,.66667],8916:[0,.69224,0,0,.66667],8918:[.0391,.5391,0,0,.77778],8919:[.0391,.5391,0,0,.77778],8920:[.03517,.54986,0,0,1.33334],8921:[.03517,.54986,0,0,1.33334],8922:[.38569,.88569,0,0,.77778],8923:[.38569,.88569,0,0,.77778],8926:[.13667,.63667,0,0,.77778],8927:[.13667,.63667,0,0,.77778],8928:[.30274,.79383,0,0,.77778],8929:[.30274,.79383,0,0,.77778],8934:[.23222,.74111,0,0,.77778],8935:[.23222,.74111,0,0,.77778],8936:[.23222,.74111,0,0,.77778],8937:[.23222,.74111,0,0,.77778],8938:[.20576,.70576,0,0,.77778],8939:[.20576,.70576,0,0,.77778],8940:[.30274,.79383,0,0,.77778],8941:[.30274,.79383,0,0,.77778],8994:[.19444,.69224,0,0,.77778],8995:[.19444,.69224,0,0,.77778],9416:[.15559,.69224,0,0,.90222],9484:[0,.69224,0,0,.5],9488:[0,.69224,0,0,.5],9492:[0,.37788,0,0,.5],9496:[0,.37788,0,0,.5],9585:[.19444,.68889,0,0,.88889],9586:[.19444,.74111,0,0,.88889],9632:[0,.675,0,0,.77778],9633:[0,.675,0,0,.77778],9650:[0,.54986,0,0,.72222],9651:[0,.54986,0,0,.72222],9654:[.03517,.54986,0,0,.77778],9660:[0,.54986,0,0,.72222],9661:[0,.54986,0,0,.72222],9664:[.03517,.54986,0,0,.77778],9674:[.11111,.69224,0,0,.66667],9733:[.19444,.69224,0,0,.94445],10003:[0,.69224,0,0,.83334],10016:[0,.69224,0,0,.83334],10731:[.11111,.69224,0,0,.66667],10846:[.19444,.75583,0,0,.61111],10877:[.13667,.63667,0,0,.77778],10878:[.13667,.63667,0,0,.77778],10885:[.25583,.75583,0,0,.77778],10886:[.25583,.75583,0,0,.77778],10887:[.13597,.63597,0,0,.77778],10888:[.13597,.63597,0,0,.77778],10889:[.26167,.75726,0,0,.77778],10890:[.26167,.75726,0,0,.77778],10891:[.48256,.98256,0,0,.77778],10892:[.48256,.98256,0,0,.77778],10901:[.13667,.63667,0,0,.77778],10902:[.13667,.63667,0,0,.77778],10933:[.25142,.75726,0,0,.77778],10934:[.25142,.75726,0,0,.77778],10935:[.26167,.75726,0,0,.77778],10936:[.26167,.75726,0,0,.77778],10937:[.26167,.75726,0,0,.77778],10938:[.26167,.75726,0,0,.77778],10949:[.25583,.75583,0,0,.77778],10950:[.25583,.75583,0,0,.77778],10955:[.28481,.79383,0,0,.77778],10956:[.28481,.79383,0,0,.77778],57350:[.08167,.58167,0,0,.22222],57351:[.08167,.58167,0,0,.38889],57352:[.08167,.58167,0,0,.77778],57353:[0,.43056,.04028,0,.66667],57356:[.25142,.75726,0,0,.77778],57357:[.25142,.75726,0,0,.77778],57358:[.41951,.91951,0,0,.77778],57359:[.30274,.79383,0,0,.77778],57360:[.30274,.79383,0,0,.77778],57361:[.41951,.91951,0,0,.77778],57366:[.25142,.75726,0,0,.77778],57367:[.25142,.75726,0,0,.77778],57368:[.25142,.75726,0,0,.77778],57369:[.25142,.75726,0,0,.77778],57370:[.13597,.63597,0,0,.77778],57371:[.13597,.63597,0,0,.77778]},"Caligraphic-Regular":{32:[0,0,0,0,.25],65:[0,.68333,0,.19445,.79847],66:[0,.68333,.03041,.13889,.65681],67:[0,.68333,.05834,.13889,.52653],68:[0,.68333,.02778,.08334,.77139],69:[0,.68333,.08944,.11111,.52778],70:[0,.68333,.09931,.11111,.71875],71:[.09722,.68333,.0593,.11111,.59487],72:[0,.68333,.00965,.11111,.84452],73:[0,.68333,.07382,0,.54452],74:[.09722,.68333,.18472,.16667,.67778],75:[0,.68333,.01445,.05556,.76195],76:[0,.68333,0,.13889,.68972],77:[0,.68333,0,.13889,1.2009],78:[0,.68333,.14736,.08334,.82049],79:[0,.68333,.02778,.11111,.79611],80:[0,.68333,.08222,.08334,.69556],81:[.09722,.68333,0,.11111,.81667],82:[0,.68333,0,.08334,.8475],83:[0,.68333,.075,.13889,.60556],84:[0,.68333,.25417,0,.54464],85:[0,.68333,.09931,.08334,.62583],86:[0,.68333,.08222,0,.61278],87:[0,.68333,.08222,.08334,.98778],88:[0,.68333,.14643,.13889,.7133],89:[.09722,.68333,.08222,.08334,.66834],90:[0,.68333,.07944,.13889,.72473],160:[0,0,0,0,.25]},"Fraktur-Regular":{32:[0,0,0,0,.25],33:[0,.69141,0,0,.29574],34:[0,.69141,0,0,.21471],38:[0,.69141,0,0,.73786],39:[0,.69141,0,0,.21201],40:[.24982,.74947,0,0,.38865],41:[.24982,.74947,0,0,.38865],42:[0,.62119,0,0,.27764],43:[.08319,.58283,0,0,.75623],44:[0,.10803,0,0,.27764],45:[.08319,.58283,0,0,.75623],46:[0,.10803,0,0,.27764],47:[.24982,.74947,0,0,.50181],48:[0,.47534,0,0,.50181],49:[0,.47534,0,0,.50181],50:[0,.47534,0,0,.50181],51:[.18906,.47534,0,0,.50181],52:[.18906,.47534,0,0,.50181],53:[.18906,.47534,0,0,.50181],54:[0,.69141,0,0,.50181],55:[.18906,.47534,0,0,.50181],56:[0,.69141,0,0,.50181],57:[.18906,.47534,0,0,.50181],58:[0,.47534,0,0,.21606],59:[.12604,.47534,0,0,.21606],61:[-.13099,.36866,0,0,.75623],63:[0,.69141,0,0,.36245],65:[0,.69141,0,0,.7176],66:[0,.69141,0,0,.88397],67:[0,.69141,0,0,.61254],68:[0,.69141,0,0,.83158],69:[0,.69141,0,0,.66278],70:[.12604,.69141,0,0,.61119],71:[0,.69141,0,0,.78539],72:[.06302,.69141,0,0,.7203],73:[0,.69141,0,0,.55448],74:[.12604,.69141,0,0,.55231],75:[0,.69141,0,0,.66845],76:[0,.69141,0,0,.66602],77:[0,.69141,0,0,1.04953],78:[0,.69141,0,0,.83212],79:[0,.69141,0,0,.82699],80:[.18906,.69141,0,0,.82753],81:[.03781,.69141,0,0,.82699],82:[0,.69141,0,0,.82807],83:[0,.69141,0,0,.82861],84:[0,.69141,0,0,.66899],85:[0,.69141,0,0,.64576],86:[0,.69141,0,0,.83131],87:[0,.69141,0,0,1.04602],88:[0,.69141,0,0,.71922],89:[.18906,.69141,0,0,.83293],90:[.12604,.69141,0,0,.60201],91:[.24982,.74947,0,0,.27764],93:[.24982,.74947,0,0,.27764],94:[0,.69141,0,0,.49965],97:[0,.47534,0,0,.50046],98:[0,.69141,0,0,.51315],99:[0,.47534,0,0,.38946],100:[0,.62119,0,0,.49857],101:[0,.47534,0,0,.40053],102:[.18906,.69141,0,0,.32626],103:[.18906,.47534,0,0,.5037],104:[.18906,.69141,0,0,.52126],105:[0,.69141,0,0,.27899],106:[0,.69141,0,0,.28088],107:[0,.69141,0,0,.38946],108:[0,.69141,0,0,.27953],109:[0,.47534,0,0,.76676],110:[0,.47534,0,0,.52666],111:[0,.47534,0,0,.48885],112:[.18906,.52396,0,0,.50046],113:[.18906,.47534,0,0,.48912],114:[0,.47534,0,0,.38919],115:[0,.47534,0,0,.44266],116:[0,.62119,0,0,.33301],117:[0,.47534,0,0,.5172],118:[0,.52396,0,0,.5118],119:[0,.52396,0,0,.77351],120:[.18906,.47534,0,0,.38865],121:[.18906,.47534,0,0,.49884],122:[.18906,.47534,0,0,.39054],160:[0,0,0,0,.25],8216:[0,.69141,0,0,.21471],8217:[0,.69141,0,0,.21471],58112:[0,.62119,0,0,.49749],58113:[0,.62119,0,0,.4983],58114:[.18906,.69141,0,0,.33328],58115:[.18906,.69141,0,0,.32923],58116:[.18906,.47534,0,0,.50343],58117:[0,.69141,0,0,.33301],58118:[0,.62119,0,0,.33409],58119:[0,.47534,0,0,.50073]},"Main-Bold":{32:[0,0,0,0,.25],33:[0,.69444,0,0,.35],34:[0,.69444,0,0,.60278],35:[.19444,.69444,0,0,.95833],36:[.05556,.75,0,0,.575],37:[.05556,.75,0,0,.95833],38:[0,.69444,0,0,.89444],39:[0,.69444,0,0,.31944],40:[.25,.75,0,0,.44722],41:[.25,.75,0,0,.44722],42:[0,.75,0,0,.575],43:[.13333,.63333,0,0,.89444],44:[.19444,.15556,0,0,.31944],45:[0,.44444,0,0,.38333],46:[0,.15556,0,0,.31944],47:[.25,.75,0,0,.575],48:[0,.64444,0,0,.575],49:[0,.64444,0,0,.575],50:[0,.64444,0,0,.575],51:[0,.64444,0,0,.575],52:[0,.64444,0,0,.575],53:[0,.64444,0,0,.575],54:[0,.64444,0,0,.575],55:[0,.64444,0,0,.575],56:[0,.64444,0,0,.575],57:[0,.64444,0,0,.575],58:[0,.44444,0,0,.31944],59:[.19444,.44444,0,0,.31944],60:[.08556,.58556,0,0,.89444],61:[-.10889,.39111,0,0,.89444],62:[.08556,.58556,0,0,.89444],63:[0,.69444,0,0,.54305],64:[0,.69444,0,0,.89444],65:[0,.68611,0,0,.86944],66:[0,.68611,0,0,.81805],67:[0,.68611,0,0,.83055],68:[0,.68611,0,0,.88194],69:[0,.68611,0,0,.75555],70:[0,.68611,0,0,.72361],71:[0,.68611,0,0,.90416],72:[0,.68611,0,0,.9],73:[0,.68611,0,0,.43611],74:[0,.68611,0,0,.59444],75:[0,.68611,0,0,.90138],76:[0,.68611,0,0,.69166],77:[0,.68611,0,0,1.09166],78:[0,.68611,0,0,.9],79:[0,.68611,0,0,.86388],80:[0,.68611,0,0,.78611],81:[.19444,.68611,0,0,.86388],82:[0,.68611,0,0,.8625],83:[0,.68611,0,0,.63889],84:[0,.68611,0,0,.8],85:[0,.68611,0,0,.88472],86:[0,.68611,.01597,0,.86944],87:[0,.68611,.01597,0,1.18888],88:[0,.68611,0,0,.86944],89:[0,.68611,.02875,0,.86944],90:[0,.68611,0,0,.70277],91:[.25,.75,0,0,.31944],92:[.25,.75,0,0,.575],93:[.25,.75,0,0,.31944],94:[0,.69444,0,0,.575],95:[.31,.13444,.03194,0,.575],97:[0,.44444,0,0,.55902],98:[0,.69444,0,0,.63889],99:[0,.44444,0,0,.51111],100:[0,.69444,0,0,.63889],101:[0,.44444,0,0,.52708],102:[0,.69444,.10903,0,.35139],103:[.19444,.44444,.01597,0,.575],104:[0,.69444,0,0,.63889],105:[0,.69444,0,0,.31944],106:[.19444,.69444,0,0,.35139],107:[0,.69444,0,0,.60694],108:[0,.69444,0,0,.31944],109:[0,.44444,0,0,.95833],110:[0,.44444,0,0,.63889],111:[0,.44444,0,0,.575],112:[.19444,.44444,0,0,.63889],113:[.19444,.44444,0,0,.60694],114:[0,.44444,0,0,.47361],115:[0,.44444,0,0,.45361],116:[0,.63492,0,0,.44722],117:[0,.44444,0,0,.63889],118:[0,.44444,.01597,0,.60694],119:[0,.44444,.01597,0,.83055],120:[0,.44444,0,0,.60694],121:[.19444,.44444,.01597,0,.60694],122:[0,.44444,0,0,.51111],123:[.25,.75,0,0,.575],124:[.25,.75,0,0,.31944],125:[.25,.75,0,0,.575],126:[.35,.34444,0,0,.575],160:[0,0,0,0,.25],163:[0,.69444,0,0,.86853],168:[0,.69444,0,0,.575],172:[0,.44444,0,0,.76666],176:[0,.69444,0,0,.86944],177:[.13333,.63333,0,0,.89444],184:[.17014,0,0,0,.51111],198:[0,.68611,0,0,1.04166],215:[.13333,.63333,0,0,.89444],216:[.04861,.73472,0,0,.89444],223:[0,.69444,0,0,.59722],230:[0,.44444,0,0,.83055],247:[.13333,.63333,0,0,.89444],248:[.09722,.54167,0,0,.575],305:[0,.44444,0,0,.31944],338:[0,.68611,0,0,1.16944],339:[0,.44444,0,0,.89444],567:[.19444,.44444,0,0,.35139],710:[0,.69444,0,0,.575],711:[0,.63194,0,0,.575],713:[0,.59611,0,0,.575],714:[0,.69444,0,0,.575],715:[0,.69444,0,0,.575],728:[0,.69444,0,0,.575],729:[0,.69444,0,0,.31944],730:[0,.69444,0,0,.86944],732:[0,.69444,0,0,.575],733:[0,.69444,0,0,.575],915:[0,.68611,0,0,.69166],916:[0,.68611,0,0,.95833],920:[0,.68611,0,0,.89444],923:[0,.68611,0,0,.80555],926:[0,.68611,0,0,.76666],928:[0,.68611,0,0,.9],931:[0,.68611,0,0,.83055],933:[0,.68611,0,0,.89444],934:[0,.68611,0,0,.83055],936:[0,.68611,0,0,.89444],937:[0,.68611,0,0,.83055],8211:[0,.44444,.03194,0,.575],8212:[0,.44444,.03194,0,1.14999],8216:[0,.69444,0,0,.31944],8217:[0,.69444,0,0,.31944],8220:[0,.69444,0,0,.60278],8221:[0,.69444,0,0,.60278],8224:[.19444,.69444,0,0,.51111],8225:[.19444,.69444,0,0,.51111],8242:[0,.55556,0,0,.34444],8407:[0,.72444,.15486,0,.575],8463:[0,.69444,0,0,.66759],8465:[0,.69444,0,0,.83055],8467:[0,.69444,0,0,.47361],8472:[.19444,.44444,0,0,.74027],8476:[0,.69444,0,0,.83055],8501:[0,.69444,0,0,.70277],8592:[-.10889,.39111,0,0,1.14999],8593:[.19444,.69444,0,0,.575],8594:[-.10889,.39111,0,0,1.14999],8595:[.19444,.69444,0,0,.575],8596:[-.10889,.39111,0,0,1.14999],8597:[.25,.75,0,0,.575],8598:[.19444,.69444,0,0,1.14999],8599:[.19444,.69444,0,0,1.14999],8600:[.19444,.69444,0,0,1.14999],8601:[.19444,.69444,0,0,1.14999],8636:[-.10889,.39111,0,0,1.14999],8637:[-.10889,.39111,0,0,1.14999],8640:[-.10889,.39111,0,0,1.14999],8641:[-.10889,.39111,0,0,1.14999],8656:[-.10889,.39111,0,0,1.14999],8657:[.19444,.69444,0,0,.70277],8658:[-.10889,.39111,0,0,1.14999],8659:[.19444,.69444,0,0,.70277],8660:[-.10889,.39111,0,0,1.14999],8661:[.25,.75,0,0,.70277],8704:[0,.69444,0,0,.63889],8706:[0,.69444,.06389,0,.62847],8707:[0,.69444,0,0,.63889],8709:[.05556,.75,0,0,.575],8711:[0,.68611,0,0,.95833],8712:[.08556,.58556,0,0,.76666],8715:[.08556,.58556,0,0,.76666],8722:[.13333,.63333,0,0,.89444],8723:[.13333,.63333,0,0,.89444],8725:[.25,.75,0,0,.575],8726:[.25,.75,0,0,.575],8727:[-.02778,.47222,0,0,.575],8728:[-.02639,.47361,0,0,.575],8729:[-.02639,.47361,0,0,.575],8730:[.18,.82,0,0,.95833],8733:[0,.44444,0,0,.89444],8734:[0,.44444,0,0,1.14999],8736:[0,.69224,0,0,.72222],8739:[.25,.75,0,0,.31944],8741:[.25,.75,0,0,.575],8743:[0,.55556,0,0,.76666],8744:[0,.55556,0,0,.76666],8745:[0,.55556,0,0,.76666],8746:[0,.55556,0,0,.76666],8747:[.19444,.69444,.12778,0,.56875],8764:[-.10889,.39111,0,0,.89444],8768:[.19444,.69444,0,0,.31944],8771:[.00222,.50222,0,0,.89444],8773:[.027,.638,0,0,.894],8776:[.02444,.52444,0,0,.89444],8781:[.00222,.50222,0,0,.89444],8801:[.00222,.50222,0,0,.89444],8804:[.19667,.69667,0,0,.89444],8805:[.19667,.69667,0,0,.89444],8810:[.08556,.58556,0,0,1.14999],8811:[.08556,.58556,0,0,1.14999],8826:[.08556,.58556,0,0,.89444],8827:[.08556,.58556,0,0,.89444],8834:[.08556,.58556,0,0,.89444],8835:[.08556,.58556,0,0,.89444],8838:[.19667,.69667,0,0,.89444],8839:[.19667,.69667,0,0,.89444],8846:[0,.55556,0,0,.76666],8849:[.19667,.69667,0,0,.89444],8850:[.19667,.69667,0,0,.89444],8851:[0,.55556,0,0,.76666],8852:[0,.55556,0,0,.76666],8853:[.13333,.63333,0,0,.89444],8854:[.13333,.63333,0,0,.89444],8855:[.13333,.63333,0,0,.89444],8856:[.13333,.63333,0,0,.89444],8857:[.13333,.63333,0,0,.89444],8866:[0,.69444,0,0,.70277],8867:[0,.69444,0,0,.70277],8868:[0,.69444,0,0,.89444],8869:[0,.69444,0,0,.89444],8900:[-.02639,.47361,0,0,.575],8901:[-.02639,.47361,0,0,.31944],8902:[-.02778,.47222,0,0,.575],8968:[.25,.75,0,0,.51111],8969:[.25,.75,0,0,.51111],8970:[.25,.75,0,0,.51111],8971:[.25,.75,0,0,.51111],8994:[-.13889,.36111,0,0,1.14999],8995:[-.13889,.36111,0,0,1.14999],9651:[.19444,.69444,0,0,1.02222],9657:[-.02778,.47222,0,0,.575],9661:[.19444,.69444,0,0,1.02222],9667:[-.02778,.47222,0,0,.575],9711:[.19444,.69444,0,0,1.14999],9824:[.12963,.69444,0,0,.89444],9825:[.12963,.69444,0,0,.89444],9826:[.12963,.69444,0,0,.89444],9827:[.12963,.69444,0,0,.89444],9837:[0,.75,0,0,.44722],9838:[.19444,.69444,0,0,.44722],9839:[.19444,.69444,0,0,.44722],10216:[.25,.75,0,0,.44722],10217:[.25,.75,0,0,.44722],10815:[0,.68611,0,0,.9],10927:[.19667,.69667,0,0,.89444],10928:[.19667,.69667,0,0,.89444],57376:[.19444,.69444,0,0,0]},"Main-BoldItalic":{32:[0,0,0,0,.25],33:[0,.69444,.11417,0,.38611],34:[0,.69444,.07939,0,.62055],35:[.19444,.69444,.06833,0,.94444],37:[.05556,.75,.12861,0,.94444],38:[0,.69444,.08528,0,.88555],39:[0,.69444,.12945,0,.35555],40:[.25,.75,.15806,0,.47333],41:[.25,.75,.03306,0,.47333],42:[0,.75,.14333,0,.59111],43:[.10333,.60333,.03306,0,.88555],44:[.19444,.14722,0,0,.35555],45:[0,.44444,.02611,0,.41444],46:[0,.14722,0,0,.35555],47:[.25,.75,.15806,0,.59111],48:[0,.64444,.13167,0,.59111],49:[0,.64444,.13167,0,.59111],50:[0,.64444,.13167,0,.59111],51:[0,.64444,.13167,0,.59111],52:[.19444,.64444,.13167,0,.59111],53:[0,.64444,.13167,0,.59111],54:[0,.64444,.13167,0,.59111],55:[.19444,.64444,.13167,0,.59111],56:[0,.64444,.13167,0,.59111],57:[0,.64444,.13167,0,.59111],58:[0,.44444,.06695,0,.35555],59:[.19444,.44444,.06695,0,.35555],61:[-.10889,.39111,.06833,0,.88555],63:[0,.69444,.11472,0,.59111],64:[0,.69444,.09208,0,.88555],65:[0,.68611,0,0,.86555],66:[0,.68611,.0992,0,.81666],67:[0,.68611,.14208,0,.82666],68:[0,.68611,.09062,0,.87555],69:[0,.68611,.11431,0,.75666],70:[0,.68611,.12903,0,.72722],71:[0,.68611,.07347,0,.89527],72:[0,.68611,.17208,0,.8961],73:[0,.68611,.15681,0,.47166],74:[0,.68611,.145,0,.61055],75:[0,.68611,.14208,0,.89499],76:[0,.68611,0,0,.69777],77:[0,.68611,.17208,0,1.07277],78:[0,.68611,.17208,0,.8961],79:[0,.68611,.09062,0,.85499],80:[0,.68611,.0992,0,.78721],81:[.19444,.68611,.09062,0,.85499],82:[0,.68611,.02559,0,.85944],83:[0,.68611,.11264,0,.64999],84:[0,.68611,.12903,0,.7961],85:[0,.68611,.17208,0,.88083],86:[0,.68611,.18625,0,.86555],87:[0,.68611,.18625,0,1.15999],88:[0,.68611,.15681,0,.86555],89:[0,.68611,.19803,0,.86555],90:[0,.68611,.14208,0,.70888],91:[.25,.75,.1875,0,.35611],93:[.25,.75,.09972,0,.35611],94:[0,.69444,.06709,0,.59111],95:[.31,.13444,.09811,0,.59111],97:[0,.44444,.09426,0,.59111],98:[0,.69444,.07861,0,.53222],99:[0,.44444,.05222,0,.53222],100:[0,.69444,.10861,0,.59111],101:[0,.44444,.085,0,.53222],102:[.19444,.69444,.21778,0,.4],103:[.19444,.44444,.105,0,.53222],104:[0,.69444,.09426,0,.59111],105:[0,.69326,.11387,0,.35555],106:[.19444,.69326,.1672,0,.35555],107:[0,.69444,.11111,0,.53222],108:[0,.69444,.10861,0,.29666],109:[0,.44444,.09426,0,.94444],110:[0,.44444,.09426,0,.64999],111:[0,.44444,.07861,0,.59111],112:[.19444,.44444,.07861,0,.59111],113:[.19444,.44444,.105,0,.53222],114:[0,.44444,.11111,0,.50167],115:[0,.44444,.08167,0,.48694],116:[0,.63492,.09639,0,.385],117:[0,.44444,.09426,0,.62055],118:[0,.44444,.11111,0,.53222],119:[0,.44444,.11111,0,.76777],120:[0,.44444,.12583,0,.56055],121:[.19444,.44444,.105,0,.56166],122:[0,.44444,.13889,0,.49055],126:[.35,.34444,.11472,0,.59111],160:[0,0,0,0,.25],168:[0,.69444,.11473,0,.59111],176:[0,.69444,0,0,.94888],184:[.17014,0,0,0,.53222],198:[0,.68611,.11431,0,1.02277],216:[.04861,.73472,.09062,0,.88555],223:[.19444,.69444,.09736,0,.665],230:[0,.44444,.085,0,.82666],248:[.09722,.54167,.09458,0,.59111],305:[0,.44444,.09426,0,.35555],338:[0,.68611,.11431,0,1.14054],339:[0,.44444,.085,0,.82666],567:[.19444,.44444,.04611,0,.385],710:[0,.69444,.06709,0,.59111],711:[0,.63194,.08271,0,.59111],713:[0,.59444,.10444,0,.59111],714:[0,.69444,.08528,0,.59111],715:[0,.69444,0,0,.59111],728:[0,.69444,.10333,0,.59111],729:[0,.69444,.12945,0,.35555],730:[0,.69444,0,0,.94888],732:[0,.69444,.11472,0,.59111],733:[0,.69444,.11472,0,.59111],915:[0,.68611,.12903,0,.69777],916:[0,.68611,0,0,.94444],920:[0,.68611,.09062,0,.88555],923:[0,.68611,0,0,.80666],926:[0,.68611,.15092,0,.76777],928:[0,.68611,.17208,0,.8961],931:[0,.68611,.11431,0,.82666],933:[0,.68611,.10778,0,.88555],934:[0,.68611,.05632,0,.82666],936:[0,.68611,.10778,0,.88555],937:[0,.68611,.0992,0,.82666],8211:[0,.44444,.09811,0,.59111],8212:[0,.44444,.09811,0,1.18221],8216:[0,.69444,.12945,0,.35555],8217:[0,.69444,.12945,0,.35555],8220:[0,.69444,.16772,0,.62055],8221:[0,.69444,.07939,0,.62055]},"Main-Italic":{32:[0,0,0,0,.25],33:[0,.69444,.12417,0,.30667],34:[0,.69444,.06961,0,.51444],35:[.19444,.69444,.06616,0,.81777],37:[.05556,.75,.13639,0,.81777],38:[0,.69444,.09694,0,.76666],39:[0,.69444,.12417,0,.30667],40:[.25,.75,.16194,0,.40889],41:[.25,.75,.03694,0,.40889],42:[0,.75,.14917,0,.51111],43:[.05667,.56167,.03694,0,.76666],44:[.19444,.10556,0,0,.30667],45:[0,.43056,.02826,0,.35778],46:[0,.10556,0,0,.30667],47:[.25,.75,.16194,0,.51111],48:[0,.64444,.13556,0,.51111],49:[0,.64444,.13556,0,.51111],50:[0,.64444,.13556,0,.51111],51:[0,.64444,.13556,0,.51111],52:[.19444,.64444,.13556,0,.51111],53:[0,.64444,.13556,0,.51111],54:[0,.64444,.13556,0,.51111],55:[.19444,.64444,.13556,0,.51111],56:[0,.64444,.13556,0,.51111],57:[0,.64444,.13556,0,.51111],58:[0,.43056,.0582,0,.30667],59:[.19444,.43056,.0582,0,.30667],61:[-.13313,.36687,.06616,0,.76666],63:[0,.69444,.1225,0,.51111],64:[0,.69444,.09597,0,.76666],65:[0,.68333,0,0,.74333],66:[0,.68333,.10257,0,.70389],67:[0,.68333,.14528,0,.71555],68:[0,.68333,.09403,0,.755],69:[0,.68333,.12028,0,.67833],70:[0,.68333,.13305,0,.65277],71:[0,.68333,.08722,0,.77361],72:[0,.68333,.16389,0,.74333],73:[0,.68333,.15806,0,.38555],74:[0,.68333,.14028,0,.525],75:[0,.68333,.14528,0,.76888],76:[0,.68333,0,0,.62722],77:[0,.68333,.16389,0,.89666],78:[0,.68333,.16389,0,.74333],79:[0,.68333,.09403,0,.76666],80:[0,.68333,.10257,0,.67833],81:[.19444,.68333,.09403,0,.76666],82:[0,.68333,.03868,0,.72944],83:[0,.68333,.11972,0,.56222],84:[0,.68333,.13305,0,.71555],85:[0,.68333,.16389,0,.74333],86:[0,.68333,.18361,0,.74333],87:[0,.68333,.18361,0,.99888],88:[0,.68333,.15806,0,.74333],89:[0,.68333,.19383,0,.74333],90:[0,.68333,.14528,0,.61333],91:[.25,.75,.1875,0,.30667],93:[.25,.75,.10528,0,.30667],94:[0,.69444,.06646,0,.51111],95:[.31,.12056,.09208,0,.51111],97:[0,.43056,.07671,0,.51111],98:[0,.69444,.06312,0,.46],99:[0,.43056,.05653,0,.46],100:[0,.69444,.10333,0,.51111],101:[0,.43056,.07514,0,.46],102:[.19444,.69444,.21194,0,.30667],103:[.19444,.43056,.08847,0,.46],104:[0,.69444,.07671,0,.51111],105:[0,.65536,.1019,0,.30667],106:[.19444,.65536,.14467,0,.30667],107:[0,.69444,.10764,0,.46],108:[0,.69444,.10333,0,.25555],109:[0,.43056,.07671,0,.81777],110:[0,.43056,.07671,0,.56222],111:[0,.43056,.06312,0,.51111],112:[.19444,.43056,.06312,0,.51111],113:[.19444,.43056,.08847,0,.46],114:[0,.43056,.10764,0,.42166],115:[0,.43056,.08208,0,.40889],116:[0,.61508,.09486,0,.33222],117:[0,.43056,.07671,0,.53666],118:[0,.43056,.10764,0,.46],119:[0,.43056,.10764,0,.66444],120:[0,.43056,.12042,0,.46389],121:[.19444,.43056,.08847,0,.48555],122:[0,.43056,.12292,0,.40889],126:[.35,.31786,.11585,0,.51111],160:[0,0,0,0,.25],168:[0,.66786,.10474,0,.51111],176:[0,.69444,0,0,.83129],184:[.17014,0,0,0,.46],198:[0,.68333,.12028,0,.88277],216:[.04861,.73194,.09403,0,.76666],223:[.19444,.69444,.10514,0,.53666],230:[0,.43056,.07514,0,.71555],248:[.09722,.52778,.09194,0,.51111],338:[0,.68333,.12028,0,.98499],339:[0,.43056,.07514,0,.71555],710:[0,.69444,.06646,0,.51111],711:[0,.62847,.08295,0,.51111],713:[0,.56167,.10333,0,.51111],714:[0,.69444,.09694,0,.51111],715:[0,.69444,0,0,.51111],728:[0,.69444,.10806,0,.51111],729:[0,.66786,.11752,0,.30667],730:[0,.69444,0,0,.83129],732:[0,.66786,.11585,0,.51111],733:[0,.69444,.1225,0,.51111],915:[0,.68333,.13305,0,.62722],916:[0,.68333,0,0,.81777],920:[0,.68333,.09403,0,.76666],923:[0,.68333,0,0,.69222],926:[0,.68333,.15294,0,.66444],928:[0,.68333,.16389,0,.74333],931:[0,.68333,.12028,0,.71555],933:[0,.68333,.11111,0,.76666],934:[0,.68333,.05986,0,.71555],936:[0,.68333,.11111,0,.76666],937:[0,.68333,.10257,0,.71555],8211:[0,.43056,.09208,0,.51111],8212:[0,.43056,.09208,0,1.02222],8216:[0,.69444,.12417,0,.30667],8217:[0,.69444,.12417,0,.30667],8220:[0,.69444,.1685,0,.51444],8221:[0,.69444,.06961,0,.51444],8463:[0,.68889,0,0,.54028]},"Main-Regular":{32:[0,0,0,0,.25],33:[0,.69444,0,0,.27778],34:[0,.69444,0,0,.5],35:[.19444,.69444,0,0,.83334],36:[.05556,.75,0,0,.5],37:[.05556,.75,0,0,.83334],38:[0,.69444,0,0,.77778],39:[0,.69444,0,0,.27778],40:[.25,.75,0,0,.38889],41:[.25,.75,0,0,.38889],42:[0,.75,0,0,.5],43:[.08333,.58333,0,0,.77778],44:[.19444,.10556,0,0,.27778],45:[0,.43056,0,0,.33333],46:[0,.10556,0,0,.27778],47:[.25,.75,0,0,.5],48:[0,.64444,0,0,.5],49:[0,.64444,0,0,.5],50:[0,.64444,0,0,.5],51:[0,.64444,0,0,.5],52:[0,.64444,0,0,.5],53:[0,.64444,0,0,.5],54:[0,.64444,0,0,.5],55:[0,.64444,0,0,.5],56:[0,.64444,0,0,.5],57:[0,.64444,0,0,.5],58:[0,.43056,0,0,.27778],59:[.19444,.43056,0,0,.27778],60:[.0391,.5391,0,0,.77778],61:[-.13313,.36687,0,0,.77778],62:[.0391,.5391,0,0,.77778],63:[0,.69444,0,0,.47222],64:[0,.69444,0,0,.77778],65:[0,.68333,0,0,.75],66:[0,.68333,0,0,.70834],67:[0,.68333,0,0,.72222],68:[0,.68333,0,0,.76389],69:[0,.68333,0,0,.68056],70:[0,.68333,0,0,.65278],71:[0,.68333,0,0,.78472],72:[0,.68333,0,0,.75],73:[0,.68333,0,0,.36111],74:[0,.68333,0,0,.51389],75:[0,.68333,0,0,.77778],76:[0,.68333,0,0,.625],77:[0,.68333,0,0,.91667],78:[0,.68333,0,0,.75],79:[0,.68333,0,0,.77778],80:[0,.68333,0,0,.68056],81:[.19444,.68333,0,0,.77778],82:[0,.68333,0,0,.73611],83:[0,.68333,0,0,.55556],84:[0,.68333,0,0,.72222],85:[0,.68333,0,0,.75],86:[0,.68333,.01389,0,.75],87:[0,.68333,.01389,0,1.02778],88:[0,.68333,0,0,.75],89:[0,.68333,.025,0,.75],90:[0,.68333,0,0,.61111],91:[.25,.75,0,0,.27778],92:[.25,.75,0,0,.5],93:[.25,.75,0,0,.27778],94:[0,.69444,0,0,.5],95:[.31,.12056,.02778,0,.5],97:[0,.43056,0,0,.5],98:[0,.69444,0,0,.55556],99:[0,.43056,0,0,.44445],100:[0,.69444,0,0,.55556],101:[0,.43056,0,0,.44445],102:[0,.69444,.07778,0,.30556],103:[.19444,.43056,.01389,0,.5],104:[0,.69444,0,0,.55556],105:[0,.66786,0,0,.27778],106:[.19444,.66786,0,0,.30556],107:[0,.69444,0,0,.52778],108:[0,.69444,0,0,.27778],109:[0,.43056,0,0,.83334],110:[0,.43056,0,0,.55556],111:[0,.43056,0,0,.5],112:[.19444,.43056,0,0,.55556],113:[.19444,.43056,0,0,.52778],114:[0,.43056,0,0,.39167],115:[0,.43056,0,0,.39445],116:[0,.61508,0,0,.38889],117:[0,.43056,0,0,.55556],118:[0,.43056,.01389,0,.52778],119:[0,.43056,.01389,0,.72222],120:[0,.43056,0,0,.52778],121:[.19444,.43056,.01389,0,.52778],122:[0,.43056,0,0,.44445],123:[.25,.75,0,0,.5],124:[.25,.75,0,0,.27778],125:[.25,.75,0,0,.5],126:[.35,.31786,0,0,.5],160:[0,0,0,0,.25],163:[0,.69444,0,0,.76909],167:[.19444,.69444,0,0,.44445],168:[0,.66786,0,0,.5],172:[0,.43056,0,0,.66667],176:[0,.69444,0,0,.75],177:[.08333,.58333,0,0,.77778],182:[.19444,.69444,0,0,.61111],184:[.17014,0,0,0,.44445],198:[0,.68333,0,0,.90278],215:[.08333,.58333,0,0,.77778],216:[.04861,.73194,0,0,.77778],223:[0,.69444,0,0,.5],230:[0,.43056,0,0,.72222],247:[.08333,.58333,0,0,.77778],248:[.09722,.52778,0,0,.5],305:[0,.43056,0,0,.27778],338:[0,.68333,0,0,1.01389],339:[0,.43056,0,0,.77778],567:[.19444,.43056,0,0,.30556],710:[0,.69444,0,0,.5],711:[0,.62847,0,0,.5],713:[0,.56778,0,0,.5],714:[0,.69444,0,0,.5],715:[0,.69444,0,0,.5],728:[0,.69444,0,0,.5],729:[0,.66786,0,0,.27778],730:[0,.69444,0,0,.75],732:[0,.66786,0,0,.5],733:[0,.69444,0,0,.5],915:[0,.68333,0,0,.625],916:[0,.68333,0,0,.83334],920:[0,.68333,0,0,.77778],923:[0,.68333,0,0,.69445],926:[0,.68333,0,0,.66667],928:[0,.68333,0,0,.75],931:[0,.68333,0,0,.72222],933:[0,.68333,0,0,.77778],934:[0,.68333,0,0,.72222],936:[0,.68333,0,0,.77778],937:[0,.68333,0,0,.72222],8211:[0,.43056,.02778,0,.5],8212:[0,.43056,.02778,0,1],8216:[0,.69444,0,0,.27778],8217:[0,.69444,0,0,.27778],8220:[0,.69444,0,0,.5],8221:[0,.69444,0,0,.5],8224:[.19444,.69444,0,0,.44445],8225:[.19444,.69444,0,0,.44445],8230:[0,.123,0,0,1.172],8242:[0,.55556,0,0,.275],8407:[0,.71444,.15382,0,.5],8463:[0,.68889,0,0,.54028],8465:[0,.69444,0,0,.72222],8467:[0,.69444,0,.11111,.41667],8472:[.19444,.43056,0,.11111,.63646],8476:[0,.69444,0,0,.72222],8501:[0,.69444,0,0,.61111],8592:[-.13313,.36687,0,0,1],8593:[.19444,.69444,0,0,.5],8594:[-.13313,.36687,0,0,1],8595:[.19444,.69444,0,0,.5],8596:[-.13313,.36687,0,0,1],8597:[.25,.75,0,0,.5],8598:[.19444,.69444,0,0,1],8599:[.19444,.69444,0,0,1],8600:[.19444,.69444,0,0,1],8601:[.19444,.69444,0,0,1],8614:[.011,.511,0,0,1],8617:[.011,.511,0,0,1.126],8618:[.011,.511,0,0,1.126],8636:[-.13313,.36687,0,0,1],8637:[-.13313,.36687,0,0,1],8640:[-.13313,.36687,0,0,1],8641:[-.13313,.36687,0,0,1],8652:[.011,.671,0,0,1],8656:[-.13313,.36687,0,0,1],8657:[.19444,.69444,0,0,.61111],8658:[-.13313,.36687,0,0,1],8659:[.19444,.69444,0,0,.61111],8660:[-.13313,.36687,0,0,1],8661:[.25,.75,0,0,.61111],8704:[0,.69444,0,0,.55556],8706:[0,.69444,.05556,.08334,.5309],8707:[0,.69444,0,0,.55556],8709:[.05556,.75,0,0,.5],8711:[0,.68333,0,0,.83334],8712:[.0391,.5391,0,0,.66667],8715:[.0391,.5391,0,0,.66667],8722:[.08333,.58333,0,0,.77778],8723:[.08333,.58333,0,0,.77778],8725:[.25,.75,0,0,.5],8726:[.25,.75,0,0,.5],8727:[-.03472,.46528,0,0,.5],8728:[-.05555,.44445,0,0,.5],8729:[-.05555,.44445,0,0,.5],8730:[.2,.8,0,0,.83334],8733:[0,.43056,0,0,.77778],8734:[0,.43056,0,0,1],8736:[0,.69224,0,0,.72222],8739:[.25,.75,0,0,.27778],8741:[.25,.75,0,0,.5],8743:[0,.55556,0,0,.66667],8744:[0,.55556,0,0,.66667],8745:[0,.55556,0,0,.66667],8746:[0,.55556,0,0,.66667],8747:[.19444,.69444,.11111,0,.41667],8764:[-.13313,.36687,0,0,.77778],8768:[.19444,.69444,0,0,.27778],8771:[-.03625,.46375,0,0,.77778],8773:[-.022,.589,0,0,.778],8776:[-.01688,.48312,0,0,.77778],8781:[-.03625,.46375,0,0,.77778],8784:[-.133,.673,0,0,.778],8801:[-.03625,.46375,0,0,.77778],8804:[.13597,.63597,0,0,.77778],8805:[.13597,.63597,0,0,.77778],8810:[.0391,.5391,0,0,1],8811:[.0391,.5391,0,0,1],8826:[.0391,.5391,0,0,.77778],8827:[.0391,.5391,0,0,.77778],8834:[.0391,.5391,0,0,.77778],8835:[.0391,.5391,0,0,.77778],8838:[.13597,.63597,0,0,.77778],8839:[.13597,.63597,0,0,.77778],8846:[0,.55556,0,0,.66667],8849:[.13597,.63597,0,0,.77778],8850:[.13597,.63597,0,0,.77778],8851:[0,.55556,0,0,.66667],8852:[0,.55556,0,0,.66667],8853:[.08333,.58333,0,0,.77778],8854:[.08333,.58333,0,0,.77778],8855:[.08333,.58333,0,0,.77778],8856:[.08333,.58333,0,0,.77778],8857:[.08333,.58333,0,0,.77778],8866:[0,.69444,0,0,.61111],8867:[0,.69444,0,0,.61111],8868:[0,.69444,0,0,.77778],8869:[0,.69444,0,0,.77778],8872:[.249,.75,0,0,.867],8900:[-.05555,.44445,0,0,.5],8901:[-.05555,.44445,0,0,.27778],8902:[-.03472,.46528,0,0,.5],8904:[.005,.505,0,0,.9],8942:[.03,.903,0,0,.278],8943:[-.19,.313,0,0,1.172],8945:[-.1,.823,0,0,1.282],8968:[.25,.75,0,0,.44445],8969:[.25,.75,0,0,.44445],8970:[.25,.75,0,0,.44445],8971:[.25,.75,0,0,.44445],8994:[-.14236,.35764,0,0,1],8995:[-.14236,.35764,0,0,1],9136:[.244,.744,0,0,.412],9137:[.244,.745,0,0,.412],9651:[.19444,.69444,0,0,.88889],9657:[-.03472,.46528,0,0,.5],9661:[.19444,.69444,0,0,.88889],9667:[-.03472,.46528,0,0,.5],9711:[.19444,.69444,0,0,1],9824:[.12963,.69444,0,0,.77778],9825:[.12963,.69444,0,0,.77778],9826:[.12963,.69444,0,0,.77778],9827:[.12963,.69444,0,0,.77778],9837:[0,.75,0,0,.38889],9838:[.19444,.69444,0,0,.38889],9839:[.19444,.69444,0,0,.38889],10216:[.25,.75,0,0,.38889],10217:[.25,.75,0,0,.38889],10222:[.244,.744,0,0,.412],10223:[.244,.745,0,0,.412],10229:[.011,.511,0,0,1.609],10230:[.011,.511,0,0,1.638],10231:[.011,.511,0,0,1.859],10232:[.024,.525,0,0,1.609],10233:[.024,.525,0,0,1.638],10234:[.024,.525,0,0,1.858],10236:[.011,.511,0,0,1.638],10815:[0,.68333,0,0,.75],10927:[.13597,.63597,0,0,.77778],10928:[.13597,.63597,0,0,.77778],57376:[.19444,.69444,0,0,0]},"Math-BoldItalic":{32:[0,0,0,0,.25],48:[0,.44444,0,0,.575],49:[0,.44444,0,0,.575],50:[0,.44444,0,0,.575],51:[.19444,.44444,0,0,.575],52:[.19444,.44444,0,0,.575],53:[.19444,.44444,0,0,.575],54:[0,.64444,0,0,.575],55:[.19444,.44444,0,0,.575],56:[0,.64444,0,0,.575],57:[.19444,.44444,0,0,.575],65:[0,.68611,0,0,.86944],66:[0,.68611,.04835,0,.8664],67:[0,.68611,.06979,0,.81694],68:[0,.68611,.03194,0,.93812],69:[0,.68611,.05451,0,.81007],70:[0,.68611,.15972,0,.68889],71:[0,.68611,0,0,.88673],72:[0,.68611,.08229,0,.98229],73:[0,.68611,.07778,0,.51111],74:[0,.68611,.10069,0,.63125],75:[0,.68611,.06979,0,.97118],76:[0,.68611,0,0,.75555],77:[0,.68611,.11424,0,1.14201],78:[0,.68611,.11424,0,.95034],79:[0,.68611,.03194,0,.83666],80:[0,.68611,.15972,0,.72309],81:[.19444,.68611,0,0,.86861],82:[0,.68611,.00421,0,.87235],83:[0,.68611,.05382,0,.69271],84:[0,.68611,.15972,0,.63663],85:[0,.68611,.11424,0,.80027],86:[0,.68611,.25555,0,.67778],87:[0,.68611,.15972,0,1.09305],88:[0,.68611,.07778,0,.94722],89:[0,.68611,.25555,0,.67458],90:[0,.68611,.06979,0,.77257],97:[0,.44444,0,0,.63287],98:[0,.69444,0,0,.52083],99:[0,.44444,0,0,.51342],100:[0,.69444,0,0,.60972],101:[0,.44444,0,0,.55361],102:[.19444,.69444,.11042,0,.56806],103:[.19444,.44444,.03704,0,.5449],104:[0,.69444,0,0,.66759],105:[0,.69326,0,0,.4048],106:[.19444,.69326,.0622,0,.47083],107:[0,.69444,.01852,0,.6037],108:[0,.69444,.0088,0,.34815],109:[0,.44444,0,0,1.0324],110:[0,.44444,0,0,.71296],111:[0,.44444,0,0,.58472],112:[.19444,.44444,0,0,.60092],113:[.19444,.44444,.03704,0,.54213],114:[0,.44444,.03194,0,.5287],115:[0,.44444,0,0,.53125],116:[0,.63492,0,0,.41528],117:[0,.44444,0,0,.68102],118:[0,.44444,.03704,0,.56666],119:[0,.44444,.02778,0,.83148],120:[0,.44444,0,0,.65903],121:[.19444,.44444,.03704,0,.59028],122:[0,.44444,.04213,0,.55509],160:[0,0,0,0,.25],915:[0,.68611,.15972,0,.65694],916:[0,.68611,0,0,.95833],920:[0,.68611,.03194,0,.86722],923:[0,.68611,0,0,.80555],926:[0,.68611,.07458,0,.84125],928:[0,.68611,.08229,0,.98229],931:[0,.68611,.05451,0,.88507],933:[0,.68611,.15972,0,.67083],934:[0,.68611,0,0,.76666],936:[0,.68611,.11653,0,.71402],937:[0,.68611,.04835,0,.8789],945:[0,.44444,0,0,.76064],946:[.19444,.69444,.03403,0,.65972],947:[.19444,.44444,.06389,0,.59003],948:[0,.69444,.03819,0,.52222],949:[0,.44444,0,0,.52882],950:[.19444,.69444,.06215,0,.50833],951:[.19444,.44444,.03704,0,.6],952:[0,.69444,.03194,0,.5618],953:[0,.44444,0,0,.41204],954:[0,.44444,0,0,.66759],955:[0,.69444,0,0,.67083],956:[.19444,.44444,0,0,.70787],957:[0,.44444,.06898,0,.57685],958:[.19444,.69444,.03021,0,.50833],959:[0,.44444,0,0,.58472],960:[0,.44444,.03704,0,.68241],961:[.19444,.44444,0,0,.6118],962:[.09722,.44444,.07917,0,.42361],963:[0,.44444,.03704,0,.68588],964:[0,.44444,.13472,0,.52083],965:[0,.44444,.03704,0,.63055],966:[.19444,.44444,0,0,.74722],967:[.19444,.44444,0,0,.71805],968:[.19444,.69444,.03704,0,.75833],969:[0,.44444,.03704,0,.71782],977:[0,.69444,0,0,.69155],981:[.19444,.69444,0,0,.7125],982:[0,.44444,.03194,0,.975],1009:[.19444,.44444,0,0,.6118],1013:[0,.44444,0,0,.48333],57649:[0,.44444,0,0,.39352],57911:[.19444,.44444,0,0,.43889]},"Math-Italic":{32:[0,0,0,0,.25],48:[0,.43056,0,0,.5],49:[0,.43056,0,0,.5],50:[0,.43056,0,0,.5],51:[.19444,.43056,0,0,.5],52:[.19444,.43056,0,0,.5],53:[.19444,.43056,0,0,.5],54:[0,.64444,0,0,.5],55:[.19444,.43056,0,0,.5],56:[0,.64444,0,0,.5],57:[.19444,.43056,0,0,.5],65:[0,.68333,0,.13889,.75],66:[0,.68333,.05017,.08334,.75851],67:[0,.68333,.07153,.08334,.71472],68:[0,.68333,.02778,.05556,.82792],69:[0,.68333,.05764,.08334,.7382],70:[0,.68333,.13889,.08334,.64306],71:[0,.68333,0,.08334,.78625],72:[0,.68333,.08125,.05556,.83125],73:[0,.68333,.07847,.11111,.43958],74:[0,.68333,.09618,.16667,.55451],75:[0,.68333,.07153,.05556,.84931],76:[0,.68333,0,.02778,.68056],77:[0,.68333,.10903,.08334,.97014],78:[0,.68333,.10903,.08334,.80347],79:[0,.68333,.02778,.08334,.76278],80:[0,.68333,.13889,.08334,.64201],81:[.19444,.68333,0,.08334,.79056],82:[0,.68333,.00773,.08334,.75929],83:[0,.68333,.05764,.08334,.6132],84:[0,.68333,.13889,.08334,.58438],85:[0,.68333,.10903,.02778,.68278],86:[0,.68333,.22222,0,.58333],87:[0,.68333,.13889,0,.94445],88:[0,.68333,.07847,.08334,.82847],89:[0,.68333,.22222,0,.58056],90:[0,.68333,.07153,.08334,.68264],97:[0,.43056,0,0,.52859],98:[0,.69444,0,0,.42917],99:[0,.43056,0,.05556,.43276],100:[0,.69444,0,.16667,.52049],101:[0,.43056,0,.05556,.46563],102:[.19444,.69444,.10764,.16667,.48959],103:[.19444,.43056,.03588,.02778,.47697],104:[0,.69444,0,0,.57616],105:[0,.65952,0,0,.34451],106:[.19444,.65952,.05724,0,.41181],107:[0,.69444,.03148,0,.5206],108:[0,.69444,.01968,.08334,.29838],109:[0,.43056,0,0,.87801],110:[0,.43056,0,0,.60023],111:[0,.43056,0,.05556,.48472],112:[.19444,.43056,0,.08334,.50313],113:[.19444,.43056,.03588,.08334,.44641],114:[0,.43056,.02778,.05556,.45116],115:[0,.43056,0,.05556,.46875],116:[0,.61508,0,.08334,.36111],117:[0,.43056,0,.02778,.57246],118:[0,.43056,.03588,.02778,.48472],119:[0,.43056,.02691,.08334,.71592],120:[0,.43056,0,.02778,.57153],121:[.19444,.43056,.03588,.05556,.49028],122:[0,.43056,.04398,.05556,.46505],160:[0,0,0,0,.25],915:[0,.68333,.13889,.08334,.61528],916:[0,.68333,0,.16667,.83334],920:[0,.68333,.02778,.08334,.76278],923:[0,.68333,0,.16667,.69445],926:[0,.68333,.07569,.08334,.74236],928:[0,.68333,.08125,.05556,.83125],931:[0,.68333,.05764,.08334,.77986],933:[0,.68333,.13889,.05556,.58333],934:[0,.68333,0,.08334,.66667],936:[0,.68333,.11,.05556,.61222],937:[0,.68333,.05017,.08334,.7724],945:[0,.43056,.0037,.02778,.6397],946:[.19444,.69444,.05278,.08334,.56563],947:[.19444,.43056,.05556,0,.51773],948:[0,.69444,.03785,.05556,.44444],949:[0,.43056,0,.08334,.46632],950:[.19444,.69444,.07378,.08334,.4375],951:[.19444,.43056,.03588,.05556,.49653],952:[0,.69444,.02778,.08334,.46944],953:[0,.43056,0,.05556,.35394],954:[0,.43056,0,0,.57616],955:[0,.69444,0,0,.58334],956:[.19444,.43056,0,.02778,.60255],957:[0,.43056,.06366,.02778,.49398],958:[.19444,.69444,.04601,.11111,.4375],959:[0,.43056,0,.05556,.48472],960:[0,.43056,.03588,0,.57003],961:[.19444,.43056,0,.08334,.51702],962:[.09722,.43056,.07986,.08334,.36285],963:[0,.43056,.03588,0,.57141],964:[0,.43056,.1132,.02778,.43715],965:[0,.43056,.03588,.02778,.54028],966:[.19444,.43056,0,.08334,.65417],967:[.19444,.43056,0,.05556,.62569],968:[.19444,.69444,.03588,.11111,.65139],969:[0,.43056,.03588,0,.62245],977:[0,.69444,0,.08334,.59144],981:[.19444,.69444,0,.08334,.59583],982:[0,.43056,.02778,0,.82813],1009:[.19444,.43056,0,.08334,.51702],1013:[0,.43056,0,.05556,.4059],57649:[0,.43056,0,.02778,.32246],57911:[.19444,.43056,0,.08334,.38403]},"SansSerif-Bold":{32:[0,0,0,0,.25],33:[0,.69444,0,0,.36667],34:[0,.69444,0,0,.55834],35:[.19444,.69444,0,0,.91667],36:[.05556,.75,0,0,.55],37:[.05556,.75,0,0,1.02912],38:[0,.69444,0,0,.83056],39:[0,.69444,0,0,.30556],40:[.25,.75,0,0,.42778],41:[.25,.75,0,0,.42778],42:[0,.75,0,0,.55],43:[.11667,.61667,0,0,.85556],44:[.10556,.13056,0,0,.30556],45:[0,.45833,0,0,.36667],46:[0,.13056,0,0,.30556],47:[.25,.75,0,0,.55],48:[0,.69444,0,0,.55],49:[0,.69444,0,0,.55],50:[0,.69444,0,0,.55],51:[0,.69444,0,0,.55],52:[0,.69444,0,0,.55],53:[0,.69444,0,0,.55],54:[0,.69444,0,0,.55],55:[0,.69444,0,0,.55],56:[0,.69444,0,0,.55],57:[0,.69444,0,0,.55],58:[0,.45833,0,0,.30556],59:[.10556,.45833,0,0,.30556],61:[-.09375,.40625,0,0,.85556],63:[0,.69444,0,0,.51945],64:[0,.69444,0,0,.73334],65:[0,.69444,0,0,.73334],66:[0,.69444,0,0,.73334],67:[0,.69444,0,0,.70278],68:[0,.69444,0,0,.79445],69:[0,.69444,0,0,.64167],70:[0,.69444,0,0,.61111],71:[0,.69444,0,0,.73334],72:[0,.69444,0,0,.79445],73:[0,.69444,0,0,.33056],74:[0,.69444,0,0,.51945],75:[0,.69444,0,0,.76389],76:[0,.69444,0,0,.58056],77:[0,.69444,0,0,.97778],78:[0,.69444,0,0,.79445],79:[0,.69444,0,0,.79445],80:[0,.69444,0,0,.70278],81:[.10556,.69444,0,0,.79445],82:[0,.69444,0,0,.70278],83:[0,.69444,0,0,.61111],84:[0,.69444,0,0,.73334],85:[0,.69444,0,0,.76389],86:[0,.69444,.01528,0,.73334],87:[0,.69444,.01528,0,1.03889],88:[0,.69444,0,0,.73334],89:[0,.69444,.0275,0,.73334],90:[0,.69444,0,0,.67223],91:[.25,.75,0,0,.34306],93:[.25,.75,0,0,.34306],94:[0,.69444,0,0,.55],95:[.35,.10833,.03056,0,.55],97:[0,.45833,0,0,.525],98:[0,.69444,0,0,.56111],99:[0,.45833,0,0,.48889],100:[0,.69444,0,0,.56111],101:[0,.45833,0,0,.51111],102:[0,.69444,.07639,0,.33611],103:[.19444,.45833,.01528,0,.55],104:[0,.69444,0,0,.56111],105:[0,.69444,0,0,.25556],106:[.19444,.69444,0,0,.28611],107:[0,.69444,0,0,.53056],108:[0,.69444,0,0,.25556],109:[0,.45833,0,0,.86667],110:[0,.45833,0,0,.56111],111:[0,.45833,0,0,.55],112:[.19444,.45833,0,0,.56111],113:[.19444,.45833,0,0,.56111],114:[0,.45833,.01528,0,.37222],115:[0,.45833,0,0,.42167],116:[0,.58929,0,0,.40417],117:[0,.45833,0,0,.56111],118:[0,.45833,.01528,0,.5],119:[0,.45833,.01528,0,.74445],120:[0,.45833,0,0,.5],121:[.19444,.45833,.01528,0,.5],122:[0,.45833,0,0,.47639],126:[.35,.34444,0,0,.55],160:[0,0,0,0,.25],168:[0,.69444,0,0,.55],176:[0,.69444,0,0,.73334],180:[0,.69444,0,0,.55],184:[.17014,0,0,0,.48889],305:[0,.45833,0,0,.25556],567:[.19444,.45833,0,0,.28611],710:[0,.69444,0,0,.55],711:[0,.63542,0,0,.55],713:[0,.63778,0,0,.55],728:[0,.69444,0,0,.55],729:[0,.69444,0,0,.30556],730:[0,.69444,0,0,.73334],732:[0,.69444,0,0,.55],733:[0,.69444,0,0,.55],915:[0,.69444,0,0,.58056],916:[0,.69444,0,0,.91667],920:[0,.69444,0,0,.85556],923:[0,.69444,0,0,.67223],926:[0,.69444,0,0,.73334],928:[0,.69444,0,0,.79445],931:[0,.69444,0,0,.79445],933:[0,.69444,0,0,.85556],934:[0,.69444,0,0,.79445],936:[0,.69444,0,0,.85556],937:[0,.69444,0,0,.79445],8211:[0,.45833,.03056,0,.55],8212:[0,.45833,.03056,0,1.10001],8216:[0,.69444,0,0,.30556],8217:[0,.69444,0,0,.30556],8220:[0,.69444,0,0,.55834],8221:[0,.69444,0,0,.55834]},"SansSerif-Italic":{32:[0,0,0,0,.25],33:[0,.69444,.05733,0,.31945],34:[0,.69444,.00316,0,.5],35:[.19444,.69444,.05087,0,.83334],36:[.05556,.75,.11156,0,.5],37:[.05556,.75,.03126,0,.83334],38:[0,.69444,.03058,0,.75834],39:[0,.69444,.07816,0,.27778],40:[.25,.75,.13164,0,.38889],41:[.25,.75,.02536,0,.38889],42:[0,.75,.11775,0,.5],43:[.08333,.58333,.02536,0,.77778],44:[.125,.08333,0,0,.27778],45:[0,.44444,.01946,0,.33333],46:[0,.08333,0,0,.27778],47:[.25,.75,.13164,0,.5],48:[0,.65556,.11156,0,.5],49:[0,.65556,.11156,0,.5],50:[0,.65556,.11156,0,.5],51:[0,.65556,.11156,0,.5],52:[0,.65556,.11156,0,.5],53:[0,.65556,.11156,0,.5],54:[0,.65556,.11156,0,.5],55:[0,.65556,.11156,0,.5],56:[0,.65556,.11156,0,.5],57:[0,.65556,.11156,0,.5],58:[0,.44444,.02502,0,.27778],59:[.125,.44444,.02502,0,.27778],61:[-.13,.37,.05087,0,.77778],63:[0,.69444,.11809,0,.47222],64:[0,.69444,.07555,0,.66667],65:[0,.69444,0,0,.66667],66:[0,.69444,.08293,0,.66667],67:[0,.69444,.11983,0,.63889],68:[0,.69444,.07555,0,.72223],69:[0,.69444,.11983,0,.59722],70:[0,.69444,.13372,0,.56945],71:[0,.69444,.11983,0,.66667],72:[0,.69444,.08094,0,.70834],73:[0,.69444,.13372,0,.27778],74:[0,.69444,.08094,0,.47222],75:[0,.69444,.11983,0,.69445],76:[0,.69444,0,0,.54167],77:[0,.69444,.08094,0,.875],78:[0,.69444,.08094,0,.70834],79:[0,.69444,.07555,0,.73611],80:[0,.69444,.08293,0,.63889],81:[.125,.69444,.07555,0,.73611],82:[0,.69444,.08293,0,.64584],83:[0,.69444,.09205,0,.55556],84:[0,.69444,.13372,0,.68056],85:[0,.69444,.08094,0,.6875],86:[0,.69444,.1615,0,.66667],87:[0,.69444,.1615,0,.94445],88:[0,.69444,.13372,0,.66667],89:[0,.69444,.17261,0,.66667],90:[0,.69444,.11983,0,.61111],91:[.25,.75,.15942,0,.28889],93:[.25,.75,.08719,0,.28889],94:[0,.69444,.0799,0,.5],95:[.35,.09444,.08616,0,.5],97:[0,.44444,.00981,0,.48056],98:[0,.69444,.03057,0,.51667],99:[0,.44444,.08336,0,.44445],100:[0,.69444,.09483,0,.51667],101:[0,.44444,.06778,0,.44445],102:[0,.69444,.21705,0,.30556],103:[.19444,.44444,.10836,0,.5],104:[0,.69444,.01778,0,.51667],105:[0,.67937,.09718,0,.23889],106:[.19444,.67937,.09162,0,.26667],107:[0,.69444,.08336,0,.48889],108:[0,.69444,.09483,0,.23889],109:[0,.44444,.01778,0,.79445],110:[0,.44444,.01778,0,.51667],111:[0,.44444,.06613,0,.5],112:[.19444,.44444,.0389,0,.51667],113:[.19444,.44444,.04169,0,.51667],114:[0,.44444,.10836,0,.34167],115:[0,.44444,.0778,0,.38333],116:[0,.57143,.07225,0,.36111],117:[0,.44444,.04169,0,.51667],118:[0,.44444,.10836,0,.46111],119:[0,.44444,.10836,0,.68334],120:[0,.44444,.09169,0,.46111],121:[.19444,.44444,.10836,0,.46111],122:[0,.44444,.08752,0,.43472],126:[.35,.32659,.08826,0,.5],160:[0,0,0,0,.25],168:[0,.67937,.06385,0,.5],176:[0,.69444,0,0,.73752],184:[.17014,0,0,0,.44445],305:[0,.44444,.04169,0,.23889],567:[.19444,.44444,.04169,0,.26667],710:[0,.69444,.0799,0,.5],711:[0,.63194,.08432,0,.5],713:[0,.60889,.08776,0,.5],714:[0,.69444,.09205,0,.5],715:[0,.69444,0,0,.5],728:[0,.69444,.09483,0,.5],729:[0,.67937,.07774,0,.27778],730:[0,.69444,0,0,.73752],732:[0,.67659,.08826,0,.5],733:[0,.69444,.09205,0,.5],915:[0,.69444,.13372,0,.54167],916:[0,.69444,0,0,.83334],920:[0,.69444,.07555,0,.77778],923:[0,.69444,0,0,.61111],926:[0,.69444,.12816,0,.66667],928:[0,.69444,.08094,0,.70834],931:[0,.69444,.11983,0,.72222],933:[0,.69444,.09031,0,.77778],934:[0,.69444,.04603,0,.72222],936:[0,.69444,.09031,0,.77778],937:[0,.69444,.08293,0,.72222],8211:[0,.44444,.08616,0,.5],8212:[0,.44444,.08616,0,1],8216:[0,.69444,.07816,0,.27778],8217:[0,.69444,.07816,0,.27778],8220:[0,.69444,.14205,0,.5],8221:[0,.69444,.00316,0,.5]},"SansSerif-Regular":{32:[0,0,0,0,.25],33:[0,.69444,0,0,.31945],34:[0,.69444,0,0,.5],35:[.19444,.69444,0,0,.83334],36:[.05556,.75,0,0,.5],37:[.05556,.75,0,0,.83334],38:[0,.69444,0,0,.75834],39:[0,.69444,0,0,.27778],40:[.25,.75,0,0,.38889],41:[.25,.75,0,0,.38889],42:[0,.75,0,0,.5],43:[.08333,.58333,0,0,.77778],44:[.125,.08333,0,0,.27778],45:[0,.44444,0,0,.33333],46:[0,.08333,0,0,.27778],47:[.25,.75,0,0,.5],48:[0,.65556,0,0,.5],49:[0,.65556,0,0,.5],50:[0,.65556,0,0,.5],51:[0,.65556,0,0,.5],52:[0,.65556,0,0,.5],53:[0,.65556,0,0,.5],54:[0,.65556,0,0,.5],55:[0,.65556,0,0,.5],56:[0,.65556,0,0,.5],57:[0,.65556,0,0,.5],58:[0,.44444,0,0,.27778],59:[.125,.44444,0,0,.27778],61:[-.13,.37,0,0,.77778],63:[0,.69444,0,0,.47222],64:[0,.69444,0,0,.66667],65:[0,.69444,0,0,.66667],66:[0,.69444,0,0,.66667],67:[0,.69444,0,0,.63889],68:[0,.69444,0,0,.72223],69:[0,.69444,0,0,.59722],70:[0,.69444,0,0,.56945],71:[0,.69444,0,0,.66667],72:[0,.69444,0,0,.70834],73:[0,.69444,0,0,.27778],74:[0,.69444,0,0,.47222],75:[0,.69444,0,0,.69445],76:[0,.69444,0,0,.54167],77:[0,.69444,0,0,.875],78:[0,.69444,0,0,.70834],79:[0,.69444,0,0,.73611],80:[0,.69444,0,0,.63889],81:[.125,.69444,0,0,.73611],82:[0,.69444,0,0,.64584],83:[0,.69444,0,0,.55556],84:[0,.69444,0,0,.68056],85:[0,.69444,0,0,.6875],86:[0,.69444,.01389,0,.66667],87:[0,.69444,.01389,0,.94445],88:[0,.69444,0,0,.66667],89:[0,.69444,.025,0,.66667],90:[0,.69444,0,0,.61111],91:[.25,.75,0,0,.28889],93:[.25,.75,0,0,.28889],94:[0,.69444,0,0,.5],95:[.35,.09444,.02778,0,.5],97:[0,.44444,0,0,.48056],98:[0,.69444,0,0,.51667],99:[0,.44444,0,0,.44445],100:[0,.69444,0,0,.51667],101:[0,.44444,0,0,.44445],102:[0,.69444,.06944,0,.30556],103:[.19444,.44444,.01389,0,.5],104:[0,.69444,0,0,.51667],105:[0,.67937,0,0,.23889],106:[.19444,.67937,0,0,.26667],107:[0,.69444,0,0,.48889],108:[0,.69444,0,0,.23889],109:[0,.44444,0,0,.79445],110:[0,.44444,0,0,.51667],111:[0,.44444,0,0,.5],112:[.19444,.44444,0,0,.51667],113:[.19444,.44444,0,0,.51667],114:[0,.44444,.01389,0,.34167],115:[0,.44444,0,0,.38333],116:[0,.57143,0,0,.36111],117:[0,.44444,0,0,.51667],118:[0,.44444,.01389,0,.46111],119:[0,.44444,.01389,0,.68334],120:[0,.44444,0,0,.46111],121:[.19444,.44444,.01389,0,.46111],122:[0,.44444,0,0,.43472],126:[.35,.32659,0,0,.5],160:[0,0,0,0,.25],168:[0,.67937,0,0,.5],176:[0,.69444,0,0,.66667],184:[.17014,0,0,0,.44445],305:[0,.44444,0,0,.23889],567:[.19444,.44444,0,0,.26667],710:[0,.69444,0,0,.5],711:[0,.63194,0,0,.5],713:[0,.60889,0,0,.5],714:[0,.69444,0,0,.5],715:[0,.69444,0,0,.5],728:[0,.69444,0,0,.5],729:[0,.67937,0,0,.27778],730:[0,.69444,0,0,.66667],732:[0,.67659,0,0,.5],733:[0,.69444,0,0,.5],915:[0,.69444,0,0,.54167],916:[0,.69444,0,0,.83334],920:[0,.69444,0,0,.77778],923:[0,.69444,0,0,.61111],926:[0,.69444,0,0,.66667],928:[0,.69444,0,0,.70834],931:[0,.69444,0,0,.72222],933:[0,.69444,0,0,.77778],934:[0,.69444,0,0,.72222],936:[0,.69444,0,0,.77778],937:[0,.69444,0,0,.72222],8211:[0,.44444,.02778,0,.5],8212:[0,.44444,.02778,0,1],8216:[0,.69444,0,0,.27778],8217:[0,.69444,0,0,.27778],8220:[0,.69444,0,0,.5],8221:[0,.69444,0,0,.5]},"Script-Regular":{32:[0,0,0,0,.25],65:[0,.7,.22925,0,.80253],66:[0,.7,.04087,0,.90757],67:[0,.7,.1689,0,.66619],68:[0,.7,.09371,0,.77443],69:[0,.7,.18583,0,.56162],70:[0,.7,.13634,0,.89544],71:[0,.7,.17322,0,.60961],72:[0,.7,.29694,0,.96919],73:[0,.7,.19189,0,.80907],74:[.27778,.7,.19189,0,1.05159],75:[0,.7,.31259,0,.91364],76:[0,.7,.19189,0,.87373],77:[0,.7,.15981,0,1.08031],78:[0,.7,.3525,0,.9015],79:[0,.7,.08078,0,.73787],80:[0,.7,.08078,0,1.01262],81:[0,.7,.03305,0,.88282],82:[0,.7,.06259,0,.85],83:[0,.7,.19189,0,.86767],84:[0,.7,.29087,0,.74697],85:[0,.7,.25815,0,.79996],86:[0,.7,.27523,0,.62204],87:[0,.7,.27523,0,.80532],88:[0,.7,.26006,0,.94445],89:[0,.7,.2939,0,.70961],90:[0,.7,.24037,0,.8212],160:[0,0,0,0,.25]},"Size1-Regular":{32:[0,0,0,0,.25],40:[.35001,.85,0,0,.45834],41:[.35001,.85,0,0,.45834],47:[.35001,.85,0,0,.57778],91:[.35001,.85,0,0,.41667],92:[.35001,.85,0,0,.57778],93:[.35001,.85,0,0,.41667],123:[.35001,.85,0,0,.58334],125:[.35001,.85,0,0,.58334],160:[0,0,0,0,.25],710:[0,.72222,0,0,.55556],732:[0,.72222,0,0,.55556],770:[0,.72222,0,0,.55556],771:[0,.72222,0,0,.55556],8214:[-99e-5,.601,0,0,.77778],8593:[1e-5,.6,0,0,.66667],8595:[1e-5,.6,0,0,.66667],8657:[1e-5,.6,0,0,.77778],8659:[1e-5,.6,0,0,.77778],8719:[.25001,.75,0,0,.94445],8720:[.25001,.75,0,0,.94445],8721:[.25001,.75,0,0,1.05556],8730:[.35001,.85,0,0,1],8739:[-.00599,.606,0,0,.33333],8741:[-.00599,.606,0,0,.55556],8747:[.30612,.805,.19445,0,.47222],8748:[.306,.805,.19445,0,.47222],8749:[.306,.805,.19445,0,.47222],8750:[.30612,.805,.19445,0,.47222],8896:[.25001,.75,0,0,.83334],8897:[.25001,.75,0,0,.83334],8898:[.25001,.75,0,0,.83334],8899:[.25001,.75,0,0,.83334],8968:[.35001,.85,0,0,.47222],8969:[.35001,.85,0,0,.47222],8970:[.35001,.85,0,0,.47222],8971:[.35001,.85,0,0,.47222],9168:[-99e-5,.601,0,0,.66667],10216:[.35001,.85,0,0,.47222],10217:[.35001,.85,0,0,.47222],10752:[.25001,.75,0,0,1.11111],10753:[.25001,.75,0,0,1.11111],10754:[.25001,.75,0,0,1.11111],10756:[.25001,.75,0,0,.83334],10758:[.25001,.75,0,0,.83334]},"Size2-Regular":{32:[0,0,0,0,.25],40:[.65002,1.15,0,0,.59722],41:[.65002,1.15,0,0,.59722],47:[.65002,1.15,0,0,.81111],91:[.65002,1.15,0,0,.47222],92:[.65002,1.15,0,0,.81111],93:[.65002,1.15,0,0,.47222],123:[.65002,1.15,0,0,.66667],125:[.65002,1.15,0,0,.66667],160:[0,0,0,0,.25],710:[0,.75,0,0,1],732:[0,.75,0,0,1],770:[0,.75,0,0,1],771:[0,.75,0,0,1],8719:[.55001,1.05,0,0,1.27778],8720:[.55001,1.05,0,0,1.27778],8721:[.55001,1.05,0,0,1.44445],8730:[.65002,1.15,0,0,1],8747:[.86225,1.36,.44445,0,.55556],8748:[.862,1.36,.44445,0,.55556],8749:[.862,1.36,.44445,0,.55556],8750:[.86225,1.36,.44445,0,.55556],8896:[.55001,1.05,0,0,1.11111],8897:[.55001,1.05,0,0,1.11111],8898:[.55001,1.05,0,0,1.11111],8899:[.55001,1.05,0,0,1.11111],8968:[.65002,1.15,0,0,.52778],8969:[.65002,1.15,0,0,.52778],8970:[.65002,1.15,0,0,.52778],8971:[.65002,1.15,0,0,.52778],10216:[.65002,1.15,0,0,.61111],10217:[.65002,1.15,0,0,.61111],10752:[.55001,1.05,0,0,1.51112],10753:[.55001,1.05,0,0,1.51112],10754:[.55001,1.05,0,0,1.51112],10756:[.55001,1.05,0,0,1.11111],10758:[.55001,1.05,0,0,1.11111]},"Size3-Regular":{32:[0,0,0,0,.25],40:[.95003,1.45,0,0,.73611],41:[.95003,1.45,0,0,.73611],47:[.95003,1.45,0,0,1.04445],91:[.95003,1.45,0,0,.52778],92:[.95003,1.45,0,0,1.04445],93:[.95003,1.45,0,0,.52778],123:[.95003,1.45,0,0,.75],125:[.95003,1.45,0,0,.75],160:[0,0,0,0,.25],710:[0,.75,0,0,1.44445],732:[0,.75,0,0,1.44445],770:[0,.75,0,0,1.44445],771:[0,.75,0,0,1.44445],8730:[.95003,1.45,0,0,1],8968:[.95003,1.45,0,0,.58334],8969:[.95003,1.45,0,0,.58334],8970:[.95003,1.45,0,0,.58334],8971:[.95003,1.45,0,0,.58334],10216:[.95003,1.45,0,0,.75],10217:[.95003,1.45,0,0,.75]},"Size4-Regular":{32:[0,0,0,0,.25],40:[1.25003,1.75,0,0,.79167],41:[1.25003,1.75,0,0,.79167],47:[1.25003,1.75,0,0,1.27778],91:[1.25003,1.75,0,0,.58334],92:[1.25003,1.75,0,0,1.27778],93:[1.25003,1.75,0,0,.58334],123:[1.25003,1.75,0,0,.80556],125:[1.25003,1.75,0,0,.80556],160:[0,0,0,0,.25],710:[0,.825,0,0,1.8889],732:[0,.825,0,0,1.8889],770:[0,.825,0,0,1.8889],771:[0,.825,0,0,1.8889],8730:[1.25003,1.75,0,0,1],8968:[1.25003,1.75,0,0,.63889],8969:[1.25003,1.75,0,0,.63889],8970:[1.25003,1.75,0,0,.63889],8971:[1.25003,1.75,0,0,.63889],9115:[.64502,1.155,0,0,.875],9116:[1e-5,.6,0,0,.875],9117:[.64502,1.155,0,0,.875],9118:[.64502,1.155,0,0,.875],9119:[1e-5,.6,0,0,.875],9120:[.64502,1.155,0,0,.875],9121:[.64502,1.155,0,0,.66667],9122:[-99e-5,.601,0,0,.66667],9123:[.64502,1.155,0,0,.66667],9124:[.64502,1.155,0,0,.66667],9125:[-99e-5,.601,0,0,.66667],9126:[.64502,1.155,0,0,.66667],9127:[1e-5,.9,0,0,.88889],9128:[.65002,1.15,0,0,.88889],9129:[.90001,0,0,0,.88889],9130:[0,.3,0,0,.88889],9131:[1e-5,.9,0,0,.88889],9132:[.65002,1.15,0,0,.88889],9133:[.90001,0,0,0,.88889],9143:[.88502,.915,0,0,1.05556],10216:[1.25003,1.75,0,0,.80556],10217:[1.25003,1.75,0,0,.80556],57344:[-.00499,.605,0,0,1.05556],57345:[-.00499,.605,0,0,1.05556],57680:[0,.12,0,0,.45],57681:[0,.12,0,0,.45],57682:[0,.12,0,0,.45],57683:[0,.12,0,0,.45]},"Typewriter-Regular":{32:[0,0,0,0,.525],33:[0,.61111,0,0,.525],34:[0,.61111,0,0,.525],35:[0,.61111,0,0,.525],36:[.08333,.69444,0,0,.525],37:[.08333,.69444,0,0,.525],38:[0,.61111,0,0,.525],39:[0,.61111,0,0,.525],40:[.08333,.69444,0,0,.525],41:[.08333,.69444,0,0,.525],42:[0,.52083,0,0,.525],43:[-.08056,.53055,0,0,.525],44:[.13889,.125,0,0,.525],45:[-.08056,.53055,0,0,.525],46:[0,.125,0,0,.525],47:[.08333,.69444,0,0,.525],48:[0,.61111,0,0,.525],49:[0,.61111,0,0,.525],50:[0,.61111,0,0,.525],51:[0,.61111,0,0,.525],52:[0,.61111,0,0,.525],53:[0,.61111,0,0,.525],54:[0,.61111,0,0,.525],55:[0,.61111,0,0,.525],56:[0,.61111,0,0,.525],57:[0,.61111,0,0,.525],58:[0,.43056,0,0,.525],59:[.13889,.43056,0,0,.525],60:[-.05556,.55556,0,0,.525],61:[-.19549,.41562,0,0,.525],62:[-.05556,.55556,0,0,.525],63:[0,.61111,0,0,.525],64:[0,.61111,0,0,.525],65:[0,.61111,0,0,.525],66:[0,.61111,0,0,.525],67:[0,.61111,0,0,.525],68:[0,.61111,0,0,.525],69:[0,.61111,0,0,.525],70:[0,.61111,0,0,.525],71:[0,.61111,0,0,.525],72:[0,.61111,0,0,.525],73:[0,.61111,0,0,.525],74:[0,.61111,0,0,.525],75:[0,.61111,0,0,.525],76:[0,.61111,0,0,.525],77:[0,.61111,0,0,.525],78:[0,.61111,0,0,.525],79:[0,.61111,0,0,.525],80:[0,.61111,0,0,.525],81:[.13889,.61111,0,0,.525],82:[0,.61111,0,0,.525],83:[0,.61111,0,0,.525],84:[0,.61111,0,0,.525],85:[0,.61111,0,0,.525],86:[0,.61111,0,0,.525],87:[0,.61111,0,0,.525],88:[0,.61111,0,0,.525],89:[0,.61111,0,0,.525],90:[0,.61111,0,0,.525],91:[.08333,.69444,0,0,.525],92:[.08333,.69444,0,0,.525],93:[.08333,.69444,0,0,.525],94:[0,.61111,0,0,.525],95:[.09514,0,0,0,.525],96:[0,.61111,0,0,.525],97:[0,.43056,0,0,.525],98:[0,.61111,0,0,.525],99:[0,.43056,0,0,.525],100:[0,.61111,0,0,.525],101:[0,.43056,0,0,.525],102:[0,.61111,0,0,.525],103:[.22222,.43056,0,0,.525],104:[0,.61111,0,0,.525],105:[0,.61111,0,0,.525],106:[.22222,.61111,0,0,.525],107:[0,.61111,0,0,.525],108:[0,.61111,0,0,.525],109:[0,.43056,0,0,.525],110:[0,.43056,0,0,.525],111:[0,.43056,0,0,.525],112:[.22222,.43056,0,0,.525],113:[.22222,.43056,0,0,.525],114:[0,.43056,0,0,.525],115:[0,.43056,0,0,.525],116:[0,.55358,0,0,.525],117:[0,.43056,0,0,.525],118:[0,.43056,0,0,.525],119:[0,.43056,0,0,.525],120:[0,.43056,0,0,.525],121:[.22222,.43056,0,0,.525],122:[0,.43056,0,0,.525],123:[.08333,.69444,0,0,.525],124:[.08333,.69444,0,0,.525],125:[.08333,.69444,0,0,.525],126:[0,.61111,0,0,.525],127:[0,.61111,0,0,.525],160:[0,0,0,0,.525],176:[0,.61111,0,0,.525],184:[.19445,0,0,0,.525],305:[0,.43056,0,0,.525],567:[.22222,.43056,0,0,.525],711:[0,.56597,0,0,.525],713:[0,.56555,0,0,.525],714:[0,.61111,0,0,.525],715:[0,.61111,0,0,.525],728:[0,.61111,0,0,.525],730:[0,.61111,0,0,.525],770:[0,.61111,0,0,.525],771:[0,.61111,0,0,.525],776:[0,.61111,0,0,.525],915:[0,.61111,0,0,.525],916:[0,.61111,0,0,.525],920:[0,.61111,0,0,.525],923:[0,.61111,0,0,.525],926:[0,.61111,0,0,.525],928:[0,.61111,0,0,.525],931:[0,.61111,0,0,.525],933:[0,.61111,0,0,.525],934:[0,.61111,0,0,.525],936:[0,.61111,0,0,.525],937:[0,.61111,0,0,.525],8216:[0,.61111,0,0,.525],8217:[0,.61111,0,0,.525],8242:[0,.61111,0,0,.525],9251:[.11111,.21944,0,0,.525]}},Cs={slant:[.25,.25,.25],space:[0,0,0],stretch:[0,0,0],shrink:[0,0,0],xHeight:[.431,.431,.431],quad:[1,1.171,1.472],extraSpace:[0,0,0],num1:[.677,.732,.925],num2:[.394,.384,.387],num3:[.444,.471,.504],denom1:[.686,.752,1.025],denom2:[.345,.344,.532],sup1:[.413,.503,.504],sup2:[.363,.431,.404],sup3:[.289,.286,.294],sub1:[.15,.143,.2],sub2:[.247,.286,.4],supDrop:[.386,.353,.494],subDrop:[.05,.071,.1],delim1:[2.39,1.7,1.98],delim2:[1.01,1.157,1.42],axisHeight:[.25,.25,.25],defaultRuleThickness:[.04,.049,.049],bigOpSpacing1:[.111,.111,.111],bigOpSpacing2:[.166,.166,.166],bigOpSpacing3:[.2,.2,.2],bigOpSpacing4:[.6,.611,.611],bigOpSpacing5:[.1,.143,.143],sqrtRuleThickness:[.04,.04,.04],ptPerEm:[10,10,10],doubleRuleSep:[.2,.2,.2],arrayRuleWidth:[.04,.04,.04],fboxsep:[.3,.3,.3],fboxrule:[.04,.04,.04]},Xd={Å:"A",Ð:"D",Þ:"o",å:"a",ð:"d",þ:"o",А:"A",Б:"B",В:"B",Г:"F",Д:"A",Е:"E",Ж:"K",З:"3",И:"N",Й:"N",К:"K",Л:"N",М:"M",Н:"H",О:"O",П:"N",Р:"P",С:"C",Т:"T",У:"y",Ф:"O",Х:"X",Ц:"U",Ч:"h",Ш:"W",Щ:"W",Ъ:"B",Ы:"X",Ь:"B",Э:"3",Ю:"X",Я:"R",а:"a",б:"b",в:"a",г:"r",д:"y",е:"e",ж:"m",з:"e",и:"n",й:"n",к:"n",л:"n",м:"m",н:"n",о:"o",п:"n",р:"p",с:"c",т:"o",у:"y",ф:"b",х:"x",ц:"n",ч:"n",ш:"w",щ:"w",ъ:"a",ы:"m",ь:"a",э:"e",ю:"m",я:"r"};function jb(e,t){dr[e]=t}function wc(e,t,r){if(!dr[t])throw new Error("Font metrics not found for font: "+t+".");var n=e.charCodeAt(0),i=dr[t][n];if(!i&&e[0]in Xd&&(n=Xd[e[0]].charCodeAt(0),i=dr[t][n]),!i&&r==="text"&&f4(n)&&(i=dr[t][77]),i)return{depth:i[0],height:i[1],italic:i[2],skew:i[3],width:i[4]}}var G0={};function qb(e){var t;if(e>=5?t=0:e>=3?t=1:t=2,!G0[t]){var r=G0[t]={cssEmPerMu:Cs.quad[t]/18};for(var n in Cs)Cs.hasOwnProperty(n)&&(r[n]=Cs[n][t])}return G0[t]}var Gb=[[1,1,1],[2,1,1],[3,1,1],[4,2,1],[5,2,1],[6,3,1],[7,4,2],[8,6,3],[9,7,6],[10,8,7],[11,10,9]],Jd=[.5,.6,.7,.8,.9,1,1.2,1.44,1.728,2.074,2.488],Zd=function(t,r){return r.size<2?t:Gb[t-1][r.size-1]};class Rr{constructor(t){this.style=void 0,this.color=void 0,this.size=void 0,this.textSize=void 0,this.phantom=void 0,this.font=void 0,this.fontFamily=void 0,this.fontWeight=void 0,this.fontShape=void 0,this.sizeMultiplier=void 0,this.maxSize=void 0,this.minRuleThickness=void 0,this._fontMetrics=void 0,this.style=t.style,this.color=t.color,this.size=t.size||Rr.BASESIZE,this.textSize=t.textSize||this.size,this.phantom=!!t.phantom,this.font=t.font||"",this.fontFamily=t.fontFamily||"",this.fontWeight=t.fontWeight||"",this.fontShape=t.fontShape||"",this.sizeMultiplier=Jd[this.size-1],this.maxSize=t.maxSize,this.minRuleThickness=t.minRuleThickness,this._fontMetrics=void 0}extend(t){var r={style:this.style,size:this.size,textSize:this.textSize,color:this.color,phantom:this.phantom,font:this.font,fontFamily:this.fontFamily,fontWeight:this.fontWeight,fontShape:this.fontShape,maxSize:this.maxSize,minRuleThickness:this.minRuleThickness};for(var n in t)t.hasOwnProperty(n)&&(r[n]=t[n]);return new Rr(r)}havingStyle(t){return this.style===t?this:this.extend({style:t,size:Zd(this.textSize,t)})}havingCrampedStyle(){return this.havingStyle(this.style.cramp())}havingSize(t){return this.size===t&&this.textSize===t?this:this.extend({style:this.style.text(),size:t,textSize:t,sizeMultiplier:Jd[t-1]})}havingBaseStyle(t){t=t||this.style.text();var r=Zd(Rr.BASESIZE,t);return this.size===r&&this.textSize===Rr.BASESIZE&&this.style===t?this:this.extend({style:t,size:r})}havingBaseSizing(){var t;switch(this.style.id){case 4:case 5:t=3;break;case 6:case 7:t=1;break;default:t=6}return this.extend({style:this.style.text(),size:t})}withColor(t){return this.extend({color:t})}withPhantom(){return this.extend({phantom:!0})}withFont(t){return this.extend({font:t})}withTextFontFamily(t){return this.extend({fontFamily:t,font:""})}withTextFontWeight(t){return this.extend({fontWeight:t,font:""})}withTextFontShape(t){return this.extend({fontShape:t,font:""})}sizingClasses(t){return t.size!==this.size?["sizing","reset-size"+t.size,"size"+this.size]:[]}baseSizingClasses(){return this.size!==Rr.BASESIZE?["sizing","reset-size"+this.size,"size"+Rr.BASESIZE]:[]}fontMetrics(){return this._fontMetrics||(this._fontMetrics=qb(this.size)),this._fontMetrics}getColor(){return this.phantom?"transparent":this.color}}Rr.BASESIZE=6;var tu={pt:1,mm:7227/2540,cm:7227/254,in:72.27,bp:803/800,pc:12,dd:1238/1157,cc:14856/1157,nd:685/642,nc:1370/107,sp:1/65536,px:803/800},Yb={ex:!0,em:!0,mu:!0},d4=function(t){return typeof t!="string"&&(t=t.unit),t in tu||t in Yb||t==="ex"},Ke=function(t,r){var n;if(t.unit in tu)n=tu[t.unit]/r.fontMetrics().ptPerEm/r.sizeMultiplier;else if(t.unit==="mu")n=r.fontMetrics().cssEmPerMu;else{var i;if(r.style.isTight()?i=r.havingStyle(r.style.text()):i=r,t.unit==="ex")n=i.fontMetrics().xHeight;else if(t.unit==="em")n=i.fontMetrics().quad;else throw new Z("Invalid unit: '"+t.unit+"'");i!==r&&(n*=i.sizeMultiplier/r.sizeMultiplier)}return Math.min(t.number*n,r.maxSize)},ee=function(t){return+t.toFixed(4)+"em"},_n=function(t){return t.filter(r=>r).join(" ")},h4=function(t,r,n){if(this.classes=t||[],this.attributes={},this.height=0,this.depth=0,this.maxFontSize=0,this.style=n||{},r){r.style.isTight()&&this.classes.push("mtight");var i=r.getColor();i&&(this.style.color=i)}},p4=function(t){var r=document.createElement(t);r.className=_n(this.classes);for(var n in this.style)this.style.hasOwnProperty(n)&&(r.style[n]=this.style[n]);for(var i in this.attributes)this.attributes.hasOwnProperty(i)&&r.setAttribute(i,this.attributes[i]);for(var a=0;a",r};let ps=class{constructor(t,r,n,i){this.children=void 0,this.attributes=void 0,this.classes=void 0,this.height=void 0,this.depth=void 0,this.width=void 0,this.maxFontSize=void 0,this.style=void 0,h4.call(this,t,n,i),this.children=r||[]}setAttribute(t,r){this.attributes[t]=r}hasClass(t){return _e.contains(this.classes,t)}toNode(){return p4.call(this,"span")}toMarkup(){return m4.call(this,"span")}};class Sc{constructor(t,r,n,i){this.children=void 0,this.attributes=void 0,this.classes=void 0,this.height=void 0,this.depth=void 0,this.maxFontSize=void 0,this.style=void 0,h4.call(this,r,i),this.children=n||[],this.setAttribute("href",t)}setAttribute(t,r){this.attributes[t]=r}hasClass(t){return _e.contains(this.classes,t)}toNode(){return p4.call(this,"a")}toMarkup(){return m4.call(this,"a")}}class Wb{constructor(t,r,n){this.src=void 0,this.alt=void 0,this.classes=void 0,this.height=void 0,this.depth=void 0,this.maxFontSize=void 0,this.style=void 0,this.alt=r,this.src=t,this.classes=["mord"],this.style=n}hasClass(t){return _e.contains(this.classes,t)}toNode(){var t=document.createElement("img");t.src=this.src,t.alt=this.alt,t.className="mord";for(var r in this.style)this.style.hasOwnProperty(r)&&(t.style[r]=this.style[r]);return t}toMarkup(){var t=""+this.alt+"0&&(r=document.createElement("span"),r.style.marginRight=ee(this.italic)),this.classes.length>0&&(r=r||document.createElement("span"),r.className=_n(this.classes));for(var n in this.style)this.style.hasOwnProperty(n)&&(r=r||document.createElement("span"),r.style[n]=this.style[n]);return r?(r.appendChild(t),r):t}toMarkup(){var t=!1,r="0&&(n+="margin-right:"+this.italic+"em;");for(var i in this.style)this.style.hasOwnProperty(i)&&(n+=_e.hyphenate(i)+":"+this.style[i]+";");n&&(t=!0,r+=' style="'+_e.escape(n)+'"');var a=_e.escape(this.text);return t?(r+=">",r+=a,r+="",r):a}}class Pr{constructor(t,r){this.children=void 0,this.attributes=void 0,this.children=t||[],this.attributes=r||{}}toNode(){var t="http://www.w3.org/2000/svg",r=document.createElementNS(t,"svg");for(var n in this.attributes)Object.prototype.hasOwnProperty.call(this.attributes,n)&&r.setAttribute(n,this.attributes[n]);for(var i=0;i":""}}class ru{constructor(t){this.attributes=void 0,this.attributes=t||{}}toNode(){var t="http://www.w3.org/2000/svg",r=document.createElementNS(t,"line");for(var n in this.attributes)Object.prototype.hasOwnProperty.call(this.attributes,n)&&r.setAttribute(n,this.attributes[n]);return r}toMarkup(){var t=" but got "+String(e)+".")}var Xb={bin:1,close:1,inner:1,open:1,punct:1,rel:1},Jb={"accent-token":1,mathord:1,"op-token":1,spacing:1,textord:1},Ue={math:{},text:{}};function f(e,t,r,n,i,a){Ue[e][i]={font:t,group:r,replace:n},a&&n&&(Ue[e][n]=Ue[e][i])}var h="math",Y="text",m="main",S="ams",We="accent-token",ue="bin",Rt="close",ra="inner",be="mathord",at="op-token",$t="open",r0="punct",x="rel",Fr="spacing",A="textord";f(h,m,x,"≡","\\equiv",!0);f(h,m,x,"≺","\\prec",!0);f(h,m,x,"≻","\\succ",!0);f(h,m,x,"∼","\\sim",!0);f(h,m,x,"⊥","\\perp");f(h,m,x,"⪯","\\preceq",!0);f(h,m,x,"⪰","\\succeq",!0);f(h,m,x,"≃","\\simeq",!0);f(h,m,x,"∣","\\mid",!0);f(h,m,x,"≪","\\ll",!0);f(h,m,x,"≫","\\gg",!0);f(h,m,x,"≍","\\asymp",!0);f(h,m,x,"∥","\\parallel");f(h,m,x,"⋈","\\bowtie",!0);f(h,m,x,"⌣","\\smile",!0);f(h,m,x,"⊑","\\sqsubseteq",!0);f(h,m,x,"⊒","\\sqsupseteq",!0);f(h,m,x,"≐","\\doteq",!0);f(h,m,x,"⌢","\\frown",!0);f(h,m,x,"∋","\\ni",!0);f(h,m,x,"∝","\\propto",!0);f(h,m,x,"⊢","\\vdash",!0);f(h,m,x,"⊣","\\dashv",!0);f(h,m,x,"∋","\\owns");f(h,m,r0,".","\\ldotp");f(h,m,r0,"⋅","\\cdotp");f(h,m,A,"#","\\#");f(Y,m,A,"#","\\#");f(h,m,A,"&","\\&");f(Y,m,A,"&","\\&");f(h,m,A,"ℵ","\\aleph",!0);f(h,m,A,"∀","\\forall",!0);f(h,m,A,"ℏ","\\hbar",!0);f(h,m,A,"∃","\\exists",!0);f(h,m,A,"∇","\\nabla",!0);f(h,m,A,"♭","\\flat",!0);f(h,m,A,"ℓ","\\ell",!0);f(h,m,A,"♮","\\natural",!0);f(h,m,A,"♣","\\clubsuit",!0);f(h,m,A,"℘","\\wp",!0);f(h,m,A,"♯","\\sharp",!0);f(h,m,A,"♢","\\diamondsuit",!0);f(h,m,A,"ℜ","\\Re",!0);f(h,m,A,"♡","\\heartsuit",!0);f(h,m,A,"ℑ","\\Im",!0);f(h,m,A,"♠","\\spadesuit",!0);f(h,m,A,"§","\\S",!0);f(Y,m,A,"§","\\S");f(h,m,A,"¶","\\P",!0);f(Y,m,A,"¶","\\P");f(h,m,A,"†","\\dag");f(Y,m,A,"†","\\dag");f(Y,m,A,"†","\\textdagger");f(h,m,A,"‡","\\ddag");f(Y,m,A,"‡","\\ddag");f(Y,m,A,"‡","\\textdaggerdbl");f(h,m,Rt,"⎱","\\rmoustache",!0);f(h,m,$t,"⎰","\\lmoustache",!0);f(h,m,Rt,"⟯","\\rgroup",!0);f(h,m,$t,"⟮","\\lgroup",!0);f(h,m,ue,"∓","\\mp",!0);f(h,m,ue,"⊖","\\ominus",!0);f(h,m,ue,"⊎","\\uplus",!0);f(h,m,ue,"⊓","\\sqcap",!0);f(h,m,ue,"∗","\\ast");f(h,m,ue,"⊔","\\sqcup",!0);f(h,m,ue,"◯","\\bigcirc",!0);f(h,m,ue,"∙","\\bullet",!0);f(h,m,ue,"‡","\\ddagger");f(h,m,ue,"≀","\\wr",!0);f(h,m,ue,"⨿","\\amalg");f(h,m,ue,"&","\\And");f(h,m,x,"⟵","\\longleftarrow",!0);f(h,m,x,"⇐","\\Leftarrow",!0);f(h,m,x,"⟸","\\Longleftarrow",!0);f(h,m,x,"⟶","\\longrightarrow",!0);f(h,m,x,"⇒","\\Rightarrow",!0);f(h,m,x,"⟹","\\Longrightarrow",!0);f(h,m,x,"↔","\\leftrightarrow",!0);f(h,m,x,"⟷","\\longleftrightarrow",!0);f(h,m,x,"⇔","\\Leftrightarrow",!0);f(h,m,x,"⟺","\\Longleftrightarrow",!0);f(h,m,x,"↦","\\mapsto",!0);f(h,m,x,"⟼","\\longmapsto",!0);f(h,m,x,"↗","\\nearrow",!0);f(h,m,x,"↩","\\hookleftarrow",!0);f(h,m,x,"↪","\\hookrightarrow",!0);f(h,m,x,"↘","\\searrow",!0);f(h,m,x,"↼","\\leftharpoonup",!0);f(h,m,x,"⇀","\\rightharpoonup",!0);f(h,m,x,"↙","\\swarrow",!0);f(h,m,x,"↽","\\leftharpoondown",!0);f(h,m,x,"⇁","\\rightharpoondown",!0);f(h,m,x,"↖","\\nwarrow",!0);f(h,m,x,"⇌","\\rightleftharpoons",!0);f(h,S,x,"≮","\\nless",!0);f(h,S,x,"","\\@nleqslant");f(h,S,x,"","\\@nleqq");f(h,S,x,"⪇","\\lneq",!0);f(h,S,x,"≨","\\lneqq",!0);f(h,S,x,"","\\@lvertneqq");f(h,S,x,"⋦","\\lnsim",!0);f(h,S,x,"⪉","\\lnapprox",!0);f(h,S,x,"⊀","\\nprec",!0);f(h,S,x,"⋠","\\npreceq",!0);f(h,S,x,"⋨","\\precnsim",!0);f(h,S,x,"⪹","\\precnapprox",!0);f(h,S,x,"≁","\\nsim",!0);f(h,S,x,"","\\@nshortmid");f(h,S,x,"∤","\\nmid",!0);f(h,S,x,"⊬","\\nvdash",!0);f(h,S,x,"⊭","\\nvDash",!0);f(h,S,x,"⋪","\\ntriangleleft");f(h,S,x,"⋬","\\ntrianglelefteq",!0);f(h,S,x,"⊊","\\subsetneq",!0);f(h,S,x,"","\\@varsubsetneq");f(h,S,x,"⫋","\\subsetneqq",!0);f(h,S,x,"","\\@varsubsetneqq");f(h,S,x,"≯","\\ngtr",!0);f(h,S,x,"","\\@ngeqslant");f(h,S,x,"","\\@ngeqq");f(h,S,x,"⪈","\\gneq",!0);f(h,S,x,"≩","\\gneqq",!0);f(h,S,x,"","\\@gvertneqq");f(h,S,x,"⋧","\\gnsim",!0);f(h,S,x,"⪊","\\gnapprox",!0);f(h,S,x,"⊁","\\nsucc",!0);f(h,S,x,"⋡","\\nsucceq",!0);f(h,S,x,"⋩","\\succnsim",!0);f(h,S,x,"⪺","\\succnapprox",!0);f(h,S,x,"≆","\\ncong",!0);f(h,S,x,"","\\@nshortparallel");f(h,S,x,"∦","\\nparallel",!0);f(h,S,x,"⊯","\\nVDash",!0);f(h,S,x,"⋫","\\ntriangleright");f(h,S,x,"⋭","\\ntrianglerighteq",!0);f(h,S,x,"","\\@nsupseteqq");f(h,S,x,"⊋","\\supsetneq",!0);f(h,S,x,"","\\@varsupsetneq");f(h,S,x,"⫌","\\supsetneqq",!0);f(h,S,x,"","\\@varsupsetneqq");f(h,S,x,"⊮","\\nVdash",!0);f(h,S,x,"⪵","\\precneqq",!0);f(h,S,x,"⪶","\\succneqq",!0);f(h,S,x,"","\\@nsubseteqq");f(h,S,ue,"⊴","\\unlhd");f(h,S,ue,"⊵","\\unrhd");f(h,S,x,"↚","\\nleftarrow",!0);f(h,S,x,"↛","\\nrightarrow",!0);f(h,S,x,"⇍","\\nLeftarrow",!0);f(h,S,x,"⇏","\\nRightarrow",!0);f(h,S,x,"↮","\\nleftrightarrow",!0);f(h,S,x,"⇎","\\nLeftrightarrow",!0);f(h,S,x,"△","\\vartriangle");f(h,S,A,"ℏ","\\hslash");f(h,S,A,"▽","\\triangledown");f(h,S,A,"◊","\\lozenge");f(h,S,A,"Ⓢ","\\circledS");f(h,S,A,"®","\\circledR");f(Y,S,A,"®","\\circledR");f(h,S,A,"∡","\\measuredangle",!0);f(h,S,A,"∄","\\nexists");f(h,S,A,"℧","\\mho");f(h,S,A,"Ⅎ","\\Finv",!0);f(h,S,A,"⅁","\\Game",!0);f(h,S,A,"‵","\\backprime");f(h,S,A,"▲","\\blacktriangle");f(h,S,A,"▼","\\blacktriangledown");f(h,S,A,"■","\\blacksquare");f(h,S,A,"⧫","\\blacklozenge");f(h,S,A,"★","\\bigstar");f(h,S,A,"∢","\\sphericalangle",!0);f(h,S,A,"∁","\\complement",!0);f(h,S,A,"ð","\\eth",!0);f(Y,m,A,"ð","ð");f(h,S,A,"╱","\\diagup");f(h,S,A,"╲","\\diagdown");f(h,S,A,"□","\\square");f(h,S,A,"□","\\Box");f(h,S,A,"◊","\\Diamond");f(h,S,A,"¥","\\yen",!0);f(Y,S,A,"¥","\\yen",!0);f(h,S,A,"✓","\\checkmark",!0);f(Y,S,A,"✓","\\checkmark");f(h,S,A,"ℶ","\\beth",!0);f(h,S,A,"ℸ","\\daleth",!0);f(h,S,A,"ℷ","\\gimel",!0);f(h,S,A,"ϝ","\\digamma",!0);f(h,S,A,"ϰ","\\varkappa");f(h,S,$t,"┌","\\@ulcorner",!0);f(h,S,Rt,"┐","\\@urcorner",!0);f(h,S,$t,"└","\\@llcorner",!0);f(h,S,Rt,"┘","\\@lrcorner",!0);f(h,S,x,"≦","\\leqq",!0);f(h,S,x,"⩽","\\leqslant",!0);f(h,S,x,"⪕","\\eqslantless",!0);f(h,S,x,"≲","\\lesssim",!0);f(h,S,x,"⪅","\\lessapprox",!0);f(h,S,x,"≊","\\approxeq",!0);f(h,S,ue,"⋖","\\lessdot");f(h,S,x,"⋘","\\lll",!0);f(h,S,x,"≶","\\lessgtr",!0);f(h,S,x,"⋚","\\lesseqgtr",!0);f(h,S,x,"⪋","\\lesseqqgtr",!0);f(h,S,x,"≑","\\doteqdot");f(h,S,x,"≓","\\risingdotseq",!0);f(h,S,x,"≒","\\fallingdotseq",!0);f(h,S,x,"∽","\\backsim",!0);f(h,S,x,"⋍","\\backsimeq",!0);f(h,S,x,"⫅","\\subseteqq",!0);f(h,S,x,"⋐","\\Subset",!0);f(h,S,x,"⊏","\\sqsubset",!0);f(h,S,x,"≼","\\preccurlyeq",!0);f(h,S,x,"⋞","\\curlyeqprec",!0);f(h,S,x,"≾","\\precsim",!0);f(h,S,x,"⪷","\\precapprox",!0);f(h,S,x,"⊲","\\vartriangleleft");f(h,S,x,"⊴","\\trianglelefteq");f(h,S,x,"⊨","\\vDash",!0);f(h,S,x,"⊪","\\Vvdash",!0);f(h,S,x,"⌣","\\smallsmile");f(h,S,x,"⌢","\\smallfrown");f(h,S,x,"≏","\\bumpeq",!0);f(h,S,x,"≎","\\Bumpeq",!0);f(h,S,x,"≧","\\geqq",!0);f(h,S,x,"⩾","\\geqslant",!0);f(h,S,x,"⪖","\\eqslantgtr",!0);f(h,S,x,"≳","\\gtrsim",!0);f(h,S,x,"⪆","\\gtrapprox",!0);f(h,S,ue,"⋗","\\gtrdot");f(h,S,x,"⋙","\\ggg",!0);f(h,S,x,"≷","\\gtrless",!0);f(h,S,x,"⋛","\\gtreqless",!0);f(h,S,x,"⪌","\\gtreqqless",!0);f(h,S,x,"≖","\\eqcirc",!0);f(h,S,x,"≗","\\circeq",!0);f(h,S,x,"≜","\\triangleq",!0);f(h,S,x,"∼","\\thicksim");f(h,S,x,"≈","\\thickapprox");f(h,S,x,"⫆","\\supseteqq",!0);f(h,S,x,"⋑","\\Supset",!0);f(h,S,x,"⊐","\\sqsupset",!0);f(h,S,x,"≽","\\succcurlyeq",!0);f(h,S,x,"⋟","\\curlyeqsucc",!0);f(h,S,x,"≿","\\succsim",!0);f(h,S,x,"⪸","\\succapprox",!0);f(h,S,x,"⊳","\\vartriangleright");f(h,S,x,"⊵","\\trianglerighteq");f(h,S,x,"⊩","\\Vdash",!0);f(h,S,x,"∣","\\shortmid");f(h,S,x,"∥","\\shortparallel");f(h,S,x,"≬","\\between",!0);f(h,S,x,"⋔","\\pitchfork",!0);f(h,S,x,"∝","\\varpropto");f(h,S,x,"◀","\\blacktriangleleft");f(h,S,x,"∴","\\therefore",!0);f(h,S,x,"∍","\\backepsilon");f(h,S,x,"▶","\\blacktriangleright");f(h,S,x,"∵","\\because",!0);f(h,S,x,"⋘","\\llless");f(h,S,x,"⋙","\\gggtr");f(h,S,ue,"⊲","\\lhd");f(h,S,ue,"⊳","\\rhd");f(h,S,x,"≂","\\eqsim",!0);f(h,m,x,"⋈","\\Join");f(h,S,x,"≑","\\Doteq",!0);f(h,S,ue,"∔","\\dotplus",!0);f(h,S,ue,"∖","\\smallsetminus");f(h,S,ue,"⋒","\\Cap",!0);f(h,S,ue,"⋓","\\Cup",!0);f(h,S,ue,"⩞","\\doublebarwedge",!0);f(h,S,ue,"⊟","\\boxminus",!0);f(h,S,ue,"⊞","\\boxplus",!0);f(h,S,ue,"⋇","\\divideontimes",!0);f(h,S,ue,"⋉","\\ltimes",!0);f(h,S,ue,"⋊","\\rtimes",!0);f(h,S,ue,"⋋","\\leftthreetimes",!0);f(h,S,ue,"⋌","\\rightthreetimes",!0);f(h,S,ue,"⋏","\\curlywedge",!0);f(h,S,ue,"⋎","\\curlyvee",!0);f(h,S,ue,"⊝","\\circleddash",!0);f(h,S,ue,"⊛","\\circledast",!0);f(h,S,ue,"⋅","\\centerdot");f(h,S,ue,"⊺","\\intercal",!0);f(h,S,ue,"⋒","\\doublecap");f(h,S,ue,"⋓","\\doublecup");f(h,S,ue,"⊠","\\boxtimes",!0);f(h,S,x,"⇢","\\dashrightarrow",!0);f(h,S,x,"⇠","\\dashleftarrow",!0);f(h,S,x,"⇇","\\leftleftarrows",!0);f(h,S,x,"⇆","\\leftrightarrows",!0);f(h,S,x,"⇚","\\Lleftarrow",!0);f(h,S,x,"↞","\\twoheadleftarrow",!0);f(h,S,x,"↢","\\leftarrowtail",!0);f(h,S,x,"↫","\\looparrowleft",!0);f(h,S,x,"⇋","\\leftrightharpoons",!0);f(h,S,x,"↶","\\curvearrowleft",!0);f(h,S,x,"↺","\\circlearrowleft",!0);f(h,S,x,"↰","\\Lsh",!0);f(h,S,x,"⇈","\\upuparrows",!0);f(h,S,x,"↿","\\upharpoonleft",!0);f(h,S,x,"⇃","\\downharpoonleft",!0);f(h,m,x,"⊶","\\origof",!0);f(h,m,x,"⊷","\\imageof",!0);f(h,S,x,"⊸","\\multimap",!0);f(h,S,x,"↭","\\leftrightsquigarrow",!0);f(h,S,x,"⇉","\\rightrightarrows",!0);f(h,S,x,"⇄","\\rightleftarrows",!0);f(h,S,x,"↠","\\twoheadrightarrow",!0);f(h,S,x,"↣","\\rightarrowtail",!0);f(h,S,x,"↬","\\looparrowright",!0);f(h,S,x,"↷","\\curvearrowright",!0);f(h,S,x,"↻","\\circlearrowright",!0);f(h,S,x,"↱","\\Rsh",!0);f(h,S,x,"⇊","\\downdownarrows",!0);f(h,S,x,"↾","\\upharpoonright",!0);f(h,S,x,"⇂","\\downharpoonright",!0);f(h,S,x,"⇝","\\rightsquigarrow",!0);f(h,S,x,"⇝","\\leadsto");f(h,S,x,"⇛","\\Rrightarrow",!0);f(h,S,x,"↾","\\restriction");f(h,m,A,"‘","`");f(h,m,A,"$","\\$");f(Y,m,A,"$","\\$");f(Y,m,A,"$","\\textdollar");f(h,m,A,"%","\\%");f(Y,m,A,"%","\\%");f(h,m,A,"_","\\_");f(Y,m,A,"_","\\_");f(Y,m,A,"_","\\textunderscore");f(h,m,A,"∠","\\angle",!0);f(h,m,A,"∞","\\infty",!0);f(h,m,A,"′","\\prime");f(h,m,A,"△","\\triangle");f(h,m,A,"Γ","\\Gamma",!0);f(h,m,A,"Δ","\\Delta",!0);f(h,m,A,"Θ","\\Theta",!0);f(h,m,A,"Λ","\\Lambda",!0);f(h,m,A,"Ξ","\\Xi",!0);f(h,m,A,"Π","\\Pi",!0);f(h,m,A,"Σ","\\Sigma",!0);f(h,m,A,"Υ","\\Upsilon",!0);f(h,m,A,"Φ","\\Phi",!0);f(h,m,A,"Ψ","\\Psi",!0);f(h,m,A,"Ω","\\Omega",!0);f(h,m,A,"A","Α");f(h,m,A,"B","Β");f(h,m,A,"E","Ε");f(h,m,A,"Z","Ζ");f(h,m,A,"H","Η");f(h,m,A,"I","Ι");f(h,m,A,"K","Κ");f(h,m,A,"M","Μ");f(h,m,A,"N","Ν");f(h,m,A,"O","Ο");f(h,m,A,"P","Ρ");f(h,m,A,"T","Τ");f(h,m,A,"X","Χ");f(h,m,A,"¬","\\neg",!0);f(h,m,A,"¬","\\lnot");f(h,m,A,"⊤","\\top");f(h,m,A,"⊥","\\bot");f(h,m,A,"∅","\\emptyset");f(h,S,A,"∅","\\varnothing");f(h,m,be,"α","\\alpha",!0);f(h,m,be,"β","\\beta",!0);f(h,m,be,"γ","\\gamma",!0);f(h,m,be,"δ","\\delta",!0);f(h,m,be,"ϵ","\\epsilon",!0);f(h,m,be,"ζ","\\zeta",!0);f(h,m,be,"η","\\eta",!0);f(h,m,be,"θ","\\theta",!0);f(h,m,be,"ι","\\iota",!0);f(h,m,be,"κ","\\kappa",!0);f(h,m,be,"λ","\\lambda",!0);f(h,m,be,"μ","\\mu",!0);f(h,m,be,"ν","\\nu",!0);f(h,m,be,"ξ","\\xi",!0);f(h,m,be,"ο","\\omicron",!0);f(h,m,be,"π","\\pi",!0);f(h,m,be,"ρ","\\rho",!0);f(h,m,be,"σ","\\sigma",!0);f(h,m,be,"τ","\\tau",!0);f(h,m,be,"υ","\\upsilon",!0);f(h,m,be,"ϕ","\\phi",!0);f(h,m,be,"χ","\\chi",!0);f(h,m,be,"ψ","\\psi",!0);f(h,m,be,"ω","\\omega",!0);f(h,m,be,"ε","\\varepsilon",!0);f(h,m,be,"ϑ","\\vartheta",!0);f(h,m,be,"ϖ","\\varpi",!0);f(h,m,be,"ϱ","\\varrho",!0);f(h,m,be,"ς","\\varsigma",!0);f(h,m,be,"φ","\\varphi",!0);f(h,m,ue,"∗","*",!0);f(h,m,ue,"+","+");f(h,m,ue,"−","-",!0);f(h,m,ue,"⋅","\\cdot",!0);f(h,m,ue,"∘","\\circ",!0);f(h,m,ue,"÷","\\div",!0);f(h,m,ue,"±","\\pm",!0);f(h,m,ue,"×","\\times",!0);f(h,m,ue,"∩","\\cap",!0);f(h,m,ue,"∪","\\cup",!0);f(h,m,ue,"∖","\\setminus",!0);f(h,m,ue,"∧","\\land");f(h,m,ue,"∨","\\lor");f(h,m,ue,"∧","\\wedge",!0);f(h,m,ue,"∨","\\vee",!0);f(h,m,A,"√","\\surd");f(h,m,$t,"⟨","\\langle",!0);f(h,m,$t,"∣","\\lvert");f(h,m,$t,"∥","\\lVert");f(h,m,Rt,"?","?");f(h,m,Rt,"!","!");f(h,m,Rt,"⟩","\\rangle",!0);f(h,m,Rt,"∣","\\rvert");f(h,m,Rt,"∥","\\rVert");f(h,m,x,"=","=");f(h,m,x,":",":");f(h,m,x,"≈","\\approx",!0);f(h,m,x,"≅","\\cong",!0);f(h,m,x,"≥","\\ge");f(h,m,x,"≥","\\geq",!0);f(h,m,x,"←","\\gets");f(h,m,x,">","\\gt",!0);f(h,m,x,"∈","\\in",!0);f(h,m,x,"","\\@not");f(h,m,x,"⊂","\\subset",!0);f(h,m,x,"⊃","\\supset",!0);f(h,m,x,"⊆","\\subseteq",!0);f(h,m,x,"⊇","\\supseteq",!0);f(h,S,x,"⊈","\\nsubseteq",!0);f(h,S,x,"⊉","\\nsupseteq",!0);f(h,m,x,"⊨","\\models");f(h,m,x,"←","\\leftarrow",!0);f(h,m,x,"≤","\\le");f(h,m,x,"≤","\\leq",!0);f(h,m,x,"<","\\lt",!0);f(h,m,x,"→","\\rightarrow",!0);f(h,m,x,"→","\\to");f(h,S,x,"≱","\\ngeq",!0);f(h,S,x,"≰","\\nleq",!0);f(h,m,Fr," ","\\ ");f(h,m,Fr," ","\\space");f(h,m,Fr," ","\\nobreakspace");f(Y,m,Fr," ","\\ ");f(Y,m,Fr," "," ");f(Y,m,Fr," ","\\space");f(Y,m,Fr," ","\\nobreakspace");f(h,m,Fr,null,"\\nobreak");f(h,m,Fr,null,"\\allowbreak");f(h,m,r0,",",",");f(h,m,r0,";",";");f(h,S,ue,"⊼","\\barwedge",!0);f(h,S,ue,"⊻","\\veebar",!0);f(h,m,ue,"⊙","\\odot",!0);f(h,m,ue,"⊕","\\oplus",!0);f(h,m,ue,"⊗","\\otimes",!0);f(h,m,A,"∂","\\partial",!0);f(h,m,ue,"⊘","\\oslash",!0);f(h,S,ue,"⊚","\\circledcirc",!0);f(h,S,ue,"⊡","\\boxdot",!0);f(h,m,ue,"△","\\bigtriangleup");f(h,m,ue,"▽","\\bigtriangledown");f(h,m,ue,"†","\\dagger");f(h,m,ue,"⋄","\\diamond");f(h,m,ue,"⋆","\\star");f(h,m,ue,"◃","\\triangleleft");f(h,m,ue,"▹","\\triangleright");f(h,m,$t,"{","\\{");f(Y,m,A,"{","\\{");f(Y,m,A,"{","\\textbraceleft");f(h,m,Rt,"}","\\}");f(Y,m,A,"}","\\}");f(Y,m,A,"}","\\textbraceright");f(h,m,$t,"{","\\lbrace");f(h,m,Rt,"}","\\rbrace");f(h,m,$t,"[","\\lbrack",!0);f(Y,m,A,"[","\\lbrack",!0);f(h,m,Rt,"]","\\rbrack",!0);f(Y,m,A,"]","\\rbrack",!0);f(h,m,$t,"(","\\lparen",!0);f(h,m,Rt,")","\\rparen",!0);f(Y,m,A,"<","\\textless",!0);f(Y,m,A,">","\\textgreater",!0);f(h,m,$t,"⌊","\\lfloor",!0);f(h,m,Rt,"⌋","\\rfloor",!0);f(h,m,$t,"⌈","\\lceil",!0);f(h,m,Rt,"⌉","\\rceil",!0);f(h,m,A,"\\","\\backslash");f(h,m,A,"∣","|");f(h,m,A,"∣","\\vert");f(Y,m,A,"|","\\textbar",!0);f(h,m,A,"∥","\\|");f(h,m,A,"∥","\\Vert");f(Y,m,A,"∥","\\textbardbl");f(Y,m,A,"~","\\textasciitilde");f(Y,m,A,"\\","\\textbackslash");f(Y,m,A,"^","\\textasciicircum");f(h,m,x,"↑","\\uparrow",!0);f(h,m,x,"⇑","\\Uparrow",!0);f(h,m,x,"↓","\\downarrow",!0);f(h,m,x,"⇓","\\Downarrow",!0);f(h,m,x,"↕","\\updownarrow",!0);f(h,m,x,"⇕","\\Updownarrow",!0);f(h,m,at,"∐","\\coprod");f(h,m,at,"⋁","\\bigvee");f(h,m,at,"⋀","\\bigwedge");f(h,m,at,"⨄","\\biguplus");f(h,m,at,"⋂","\\bigcap");f(h,m,at,"⋃","\\bigcup");f(h,m,at,"∫","\\int");f(h,m,at,"∫","\\intop");f(h,m,at,"∬","\\iint");f(h,m,at,"∭","\\iiint");f(h,m,at,"∏","\\prod");f(h,m,at,"∑","\\sum");f(h,m,at,"⨂","\\bigotimes");f(h,m,at,"⨁","\\bigoplus");f(h,m,at,"⨀","\\bigodot");f(h,m,at,"∮","\\oint");f(h,m,at,"∯","\\oiint");f(h,m,at,"∰","\\oiiint");f(h,m,at,"⨆","\\bigsqcup");f(h,m,at,"∫","\\smallint");f(Y,m,ra,"…","\\textellipsis");f(h,m,ra,"…","\\mathellipsis");f(Y,m,ra,"…","\\ldots",!0);f(h,m,ra,"…","\\ldots",!0);f(h,m,ra,"⋯","\\@cdots",!0);f(h,m,ra,"⋱","\\ddots",!0);f(h,m,A,"⋮","\\varvdots");f(h,m,We,"ˊ","\\acute");f(h,m,We,"ˋ","\\grave");f(h,m,We,"¨","\\ddot");f(h,m,We,"~","\\tilde");f(h,m,We,"ˉ","\\bar");f(h,m,We,"˘","\\breve");f(h,m,We,"ˇ","\\check");f(h,m,We,"^","\\hat");f(h,m,We,"⃗","\\vec");f(h,m,We,"˙","\\dot");f(h,m,We,"˚","\\mathring");f(h,m,be,"","\\@imath");f(h,m,be,"","\\@jmath");f(h,m,A,"ı","ı");f(h,m,A,"ȷ","ȷ");f(Y,m,A,"ı","\\i",!0);f(Y,m,A,"ȷ","\\j",!0);f(Y,m,A,"ß","\\ss",!0);f(Y,m,A,"æ","\\ae",!0);f(Y,m,A,"œ","\\oe",!0);f(Y,m,A,"ø","\\o",!0);f(Y,m,A,"Æ","\\AE",!0);f(Y,m,A,"Œ","\\OE",!0);f(Y,m,A,"Ø","\\O",!0);f(Y,m,We,"ˊ","\\'");f(Y,m,We,"ˋ","\\`");f(Y,m,We,"ˆ","\\^");f(Y,m,We,"˜","\\~");f(Y,m,We,"ˉ","\\=");f(Y,m,We,"˘","\\u");f(Y,m,We,"˙","\\.");f(Y,m,We,"¸","\\c");f(Y,m,We,"˚","\\r");f(Y,m,We,"ˇ","\\v");f(Y,m,We,"¨",'\\"');f(Y,m,We,"˝","\\H");f(Y,m,We,"◯","\\textcircled");var g4={"--":!0,"---":!0,"``":!0,"''":!0};f(Y,m,A,"–","--",!0);f(Y,m,A,"–","\\textendash");f(Y,m,A,"—","---",!0);f(Y,m,A,"—","\\textemdash");f(Y,m,A,"‘","`",!0);f(Y,m,A,"‘","\\textquoteleft");f(Y,m,A,"’","'",!0);f(Y,m,A,"’","\\textquoteright");f(Y,m,A,"“","``",!0);f(Y,m,A,"“","\\textquotedblleft");f(Y,m,A,"”","''",!0);f(Y,m,A,"”","\\textquotedblright");f(h,m,A,"°","\\degree",!0);f(Y,m,A,"°","\\degree");f(Y,m,A,"°","\\textdegree",!0);f(h,m,A,"£","\\pounds");f(h,m,A,"£","\\mathsterling",!0);f(Y,m,A,"£","\\pounds");f(Y,m,A,"£","\\textsterling",!0);f(h,S,A,"✠","\\maltese");f(Y,S,A,"✠","\\maltese");var eh='0123456789/@."';for(var Y0=0;Y0{if(_n(e.classes)!==_n(t.classes)||e.skew!==t.skew||e.maxFontSize!==t.maxFontSize)return!1;if(e.classes.length===1){var r=e.classes[0];if(r==="mbin"||r==="mord")return!1}for(var n in e.style)if(e.style.hasOwnProperty(n)&&e.style[n]!==t.style[n])return!1;for(var i in t.style)if(t.style.hasOwnProperty(i)&&e.style[i]!==t.style[i])return!1;return!0},n9=e=>{for(var t=0;tr&&(r=s.height),s.depth>n&&(n=s.depth),s.maxFontSize>i&&(i=s.maxFontSize)}t.height=r,t.depth=n,t.maxFontSize=i},Nt=function(t,r,n,i){var a=new ps(t,r,n,i);return Ec(a),a},y4=(e,t,r,n)=>new ps(e,t,r,n),i9=function(t,r,n){var i=Nt([t],[],r);return i.height=Math.max(n||r.fontMetrics().defaultRuleThickness,r.minRuleThickness),i.style.borderBottomWidth=ee(i.height),i.maxFontSize=1,i},a9=function(t,r,n,i){var a=new Sc(t,r,n,i);return Ec(a),a},v4=function(t){var r=new hs(t);return Ec(r),r},s9=function(t,r){return t instanceof hs?Nt([],[t],r):t},o9=function(t){if(t.positionType==="individualShift"){for(var r=t.children,n=[r[0]],i=-r[0].shift-r[0].elem.depth,a=i,s=1;s{var r=Nt(["mspace"],[],t),n=Ke(e,t);return r.style.marginRight=ee(n),r},Ps=function(t,r,n){var i="";switch(t){case"amsrm":i="AMS";break;case"textrm":i="Main";break;case"textsf":i="SansSerif";break;case"texttt":i="Typewriter";break;default:i=t}var a;return r==="textbf"&&n==="textit"?a="BoldItalic":r==="textbf"?a="Bold":r==="textit"?a="Italic":a="Regular",i+"-"+a},b4={mathbf:{variant:"bold",fontName:"Main-Bold"},mathrm:{variant:"normal",fontName:"Main-Regular"},textit:{variant:"italic",fontName:"Main-Italic"},mathit:{variant:"italic",fontName:"Main-Italic"},mathnormal:{variant:"italic",fontName:"Math-Italic"},mathbb:{variant:"double-struck",fontName:"AMS-Regular"},mathcal:{variant:"script",fontName:"Caligraphic-Regular"},mathfrak:{variant:"fraktur",fontName:"Fraktur-Regular"},mathscr:{variant:"script",fontName:"Script-Regular"},mathsf:{variant:"sans-serif",fontName:"SansSerif-Regular"},mathtt:{variant:"monospace",fontName:"Typewriter-Regular"}},_4={vec:["vec",.471,.714],oiintSize1:["oiintSize1",.957,.499],oiintSize2:["oiintSize2",1.472,.659],oiiintSize1:["oiiintSize1",1.304,.499],oiiintSize2:["oiiintSize2",1.98,.659]},c9=function(t,r){var[n,i,a]=_4[t],s=new wn(n),o=new Pr([s],{width:ee(i),height:ee(a),style:"width:"+ee(i),viewBox:"0 0 "+1e3*i+" "+1e3*a,preserveAspectRatio:"xMinYMin"}),l=y4(["overlay"],[o],r);return l.height=a,l.style.height=ee(a),l.style.width=ee(i),l},M={fontMap:b4,makeSymbol:Jt,mathsym:Qb,makeSpan:Nt,makeSvgSpan:y4,makeLineSpan:i9,makeAnchor:a9,makeFragment:v4,wrapFragment:s9,makeVList:l9,makeOrd:t9,makeGlue:u9,staticSvg:c9,svgData:_4,tryCombineChars:n9},Ve={number:3,unit:"mu"},Dn={number:4,unit:"mu"},Sr={number:5,unit:"mu"},f9={mord:{mop:Ve,mbin:Dn,mrel:Sr,minner:Ve},mop:{mord:Ve,mop:Ve,mrel:Sr,minner:Ve},mbin:{mord:Dn,mop:Dn,mopen:Dn,minner:Dn},mrel:{mord:Sr,mop:Sr,mopen:Sr,minner:Sr},mopen:{},mclose:{mop:Ve,mbin:Dn,mrel:Sr,minner:Ve},mpunct:{mord:Ve,mop:Ve,mrel:Sr,mopen:Ve,mclose:Ve,mpunct:Ve,minner:Ve},minner:{mord:Ve,mop:Ve,mbin:Dn,mrel:Sr,mopen:Ve,mpunct:Ve,minner:Ve}},d9={mord:{mop:Ve},mop:{mord:Ve,mop:Ve},mbin:{},mrel:{},mopen:{},mclose:{mop:Ve},mpunct:{},minner:{mop:Ve}},w4={},xo={},To={};function le(e){for(var{type:t,names:r,props:n,handler:i,htmlBuilder:a,mathmlBuilder:s}=e,o={type:t,numArgs:n.numArgs,argTypes:n.argTypes,allowedInArgument:!!n.allowedInArgument,allowedInText:!!n.allowedInText,allowedInMath:n.allowedInMath===void 0?!0:n.allowedInMath,numOptionalArgs:n.numOptionalArgs||0,infix:!!n.infix,primitive:!!n.primitive,handler:i},l=0;l{var R=E.classes[0],_=v.classes[0];R==="mbin"&&_e.contains(p9,_)?E.classes[0]="mord":_==="mbin"&&_e.contains(h9,R)&&(v.classes[0]="mord")},{node:d},p,g),ah(a,(v,E)=>{var R=iu(E),_=iu(v),b=R&&_?v.hasClass("mtight")?d9[R][_]:f9[R][_]:null;if(b)return M.makeGlue(b,u)},{node:d},p,g),a},ah=function e(t,r,n,i,a){i&&t.push(i);for(var s=0;sp=>{t.splice(d+1,0,p),s++})(s)}i&&t.pop()},S4=function(t){return t instanceof hs||t instanceof Sc||t instanceof ps&&t.hasClass("enclosing")?t:null},y9=function e(t,r){var n=S4(t);if(n){var i=n.children;if(i.length){if(r==="right")return e(i[i.length-1],"right");if(r==="left")return e(i[0],"left")}}return t},iu=function(t,r){return t?(r&&(t=y9(t,r)),g9[t.classes[0]]||null):null},Wa=function(t,r){var n=["nulldelimiter"].concat(t.baseSizingClasses());return Lr(r.concat(n))},Be=function(t,r,n){if(!t)return Lr();if(xo[t.type]){var i=xo[t.type](t,r);if(n&&r.size!==n.size){i=Lr(r.sizingClasses(n),[i],r);var a=r.sizeMultiplier/n.sizeMultiplier;i.height*=a,i.depth*=a}return i}else throw new Z("Got group of unknown type: '"+t.type+"'")};function Ls(e,t){var r=Lr(["base"],e,t),n=Lr(["strut"]);return n.style.height=ee(r.height+r.depth),r.depth&&(n.style.verticalAlign=ee(-r.depth)),r.children.unshift(n),r}function au(e,t){var r=null;e.length===1&&e[0].type==="tag"&&(r=e[0].tag,e=e[0].body);var n=ot(e,t,"root"),i;n.length===2&&n[1].hasClass("tag")&&(i=n.pop());for(var a=[],s=[],o=0;o0&&(a.push(Ls(s,t)),s=[]),a.push(n[o]));s.length>0&&a.push(Ls(s,t));var u;r?(u=Ls(ot(r,t,!0)),u.classes=["tag"],a.push(u)):i&&a.push(i);var c=Lr(["katex-html"],a);if(c.setAttribute("aria-hidden","true"),u){var d=u.children[0];d.style.height=ee(c.height+c.depth),c.depth&&(d.style.verticalAlign=ee(-c.depth))}return c}function E4(e){return new hs(e)}class Ut{constructor(t,r,n){this.type=void 0,this.attributes=void 0,this.children=void 0,this.classes=void 0,this.type=t,this.attributes={},this.children=r||[],this.classes=n||[]}setAttribute(t,r){this.attributes[t]=r}getAttribute(t){return this.attributes[t]}toNode(){var t=document.createElementNS("http://www.w3.org/1998/Math/MathML",this.type);for(var r in this.attributes)Object.prototype.hasOwnProperty.call(this.attributes,r)&&t.setAttribute(r,this.attributes[r]);this.classes.length>0&&(t.className=_n(this.classes));for(var n=0;n0&&(t+=' class ="'+_e.escape(_n(this.classes))+'"'),t+=">";for(var n=0;n",t}toText(){return this.children.map(t=>t.toText()).join("")}}class Ma{constructor(t){this.text=void 0,this.text=t}toNode(){return document.createTextNode(this.text)}toMarkup(){return _e.escape(this.toText())}toText(){return this.text}}class v9{constructor(t){this.width=void 0,this.character=void 0,this.width=t,t>=.05555&&t<=.05556?this.character=" ":t>=.1666&&t<=.1667?this.character=" ":t>=.2222&&t<=.2223?this.character=" ":t>=.2777&&t<=.2778?this.character="  ":t>=-.05556&&t<=-.05555?this.character=" ⁣":t>=-.1667&&t<=-.1666?this.character=" ⁣":t>=-.2223&&t<=-.2222?this.character=" ⁣":t>=-.2778&&t<=-.2777?this.character=" ⁣":this.character=null}toNode(){if(this.character)return document.createTextNode(this.character);var t=document.createElementNS("http://www.w3.org/1998/Math/MathML","mspace");return t.setAttribute("width",ee(this.width)),t}toMarkup(){return this.character?""+this.character+"":''}toText(){return this.character?this.character:" "}}var X={MathNode:Ut,TextNode:Ma,SpaceNode:v9,newDocumentFragment:E4},Kt=function(t,r,n){return Ue[r][t]&&Ue[r][t].replace&&t.charCodeAt(0)!==55349&&!(g4.hasOwnProperty(t)&&n&&(n.fontFamily&&n.fontFamily.slice(4,6)==="tt"||n.font&&n.font.slice(4,6)==="tt"))&&(t=Ue[r][t].replace),new X.TextNode(t)},xc=function(t){return t.length===1?t[0]:new X.MathNode("mrow",t)},Tc=function(t,r){if(r.fontFamily==="texttt")return"monospace";if(r.fontFamily==="textsf")return r.fontShape==="textit"&&r.fontWeight==="textbf"?"sans-serif-bold-italic":r.fontShape==="textit"?"sans-serif-italic":r.fontWeight==="textbf"?"bold-sans-serif":"sans-serif";if(r.fontShape==="textit"&&r.fontWeight==="textbf")return"bold-italic";if(r.fontShape==="textit")return"italic";if(r.fontWeight==="textbf")return"bold";var n=r.font;if(!n||n==="mathnormal")return null;var i=t.mode;if(n==="mathit")return"italic";if(n==="boldsymbol")return t.type==="textord"?"bold":"bold-italic";if(n==="mathbf")return"bold";if(n==="mathbb")return"double-struck";if(n==="mathfrak")return"fraktur";if(n==="mathscr"||n==="mathcal")return"script";if(n==="mathsf")return"sans-serif";if(n==="mathtt")return"monospace";var a=t.text;if(_e.contains(["\\imath","\\jmath"],a))return null;Ue[i][a]&&Ue[i][a].replace&&(a=Ue[i][a].replace);var s=M.fontMap[n].fontName;return wc(a,s,i)?M.fontMap[n].variant:null},It=function(t,r,n){if(t.length===1){var i=Fe(t[0],r);return n&&i instanceof Ut&&i.type==="mo"&&(i.setAttribute("lspace","0em"),i.setAttribute("rspace","0em")),[i]}for(var a=[],s,o=0;o0&&(d.text=d.text.slice(0,1)+"̸"+d.text.slice(1),a.pop())}}}a.push(l),s=l}return a},Sn=function(t,r,n){return xc(It(t,r,n))},Fe=function(t,r){if(!t)return new X.MathNode("mrow");if(To[t.type]){var n=To[t.type](t,r);return n}else throw new Z("Got group of unknown type: '"+t.type+"'")};function sh(e,t,r,n,i){var a=It(e,r),s;a.length===1&&a[0]instanceof Ut&&_e.contains(["mrow","mtable"],a[0].type)?s=a[0]:s=new X.MathNode("mrow",a);var o=new X.MathNode("annotation",[new X.TextNode(t)]);o.setAttribute("encoding","application/x-tex");var l=new X.MathNode("semantics",[s,o]),u=new X.MathNode("math",[l]);u.setAttribute("xmlns","http://www.w3.org/1998/Math/MathML"),n&&u.setAttribute("display","block");var c=i?"katex":"katex-mathml";return M.makeSpan([c],[u])}var x4=function(t){return new Rr({style:t.displayMode?ye.DISPLAY:ye.TEXT,maxSize:t.maxSize,minRuleThickness:t.minRuleThickness})},T4=function(t,r){if(r.displayMode){var n=["katex-display"];r.leqno&&n.push("leqno"),r.fleqn&&n.push("fleqn"),t=M.makeSpan(n,[t])}return t},b9=function(t,r,n){var i=x4(n),a;if(n.output==="mathml")return sh(t,r,i,n.displayMode,!0);if(n.output==="html"){var s=au(t,i);a=M.makeSpan(["katex"],[s])}else{var o=sh(t,r,i,n.displayMode,!1),l=au(t,i);a=M.makeSpan(["katex"],[o,l])}return T4(a,n)},_9=function(t,r,n){var i=x4(n),a=au(t,i),s=M.makeSpan(["katex"],[a]);return T4(s,n)},w9={widehat:"^",widecheck:"ˇ",widetilde:"~",utilde:"~",overleftarrow:"←",underleftarrow:"←",xleftarrow:"←",overrightarrow:"→",underrightarrow:"→",xrightarrow:"→",underbrace:"⏟",overbrace:"⏞",overgroup:"⏠",undergroup:"⏡",overleftrightarrow:"↔",underleftrightarrow:"↔",xleftrightarrow:"↔",Overrightarrow:"⇒",xRightarrow:"⇒",overleftharpoon:"↼",xleftharpoonup:"↼",overrightharpoon:"⇀",xrightharpoonup:"⇀",xLeftarrow:"⇐",xLeftrightarrow:"⇔",xhookleftarrow:"↩",xhookrightarrow:"↪",xmapsto:"↦",xrightharpoondown:"⇁",xleftharpoondown:"↽",xrightleftharpoons:"⇌",xleftrightharpoons:"⇋",xtwoheadleftarrow:"↞",xtwoheadrightarrow:"↠",xlongequal:"=",xtofrom:"⇄",xrightleftarrows:"⇄",xrightequilibrium:"⇌",xleftequilibrium:"⇋","\\cdrightarrow":"→","\\cdleftarrow":"←","\\cdlongequal":"="},S9=function(t){var r=new X.MathNode("mo",[new X.TextNode(w9[t.replace(/^\\/,"")])]);return r.setAttribute("stretchy","true"),r},E9={overrightarrow:[["rightarrow"],.888,522,"xMaxYMin"],overleftarrow:[["leftarrow"],.888,522,"xMinYMin"],underrightarrow:[["rightarrow"],.888,522,"xMaxYMin"],underleftarrow:[["leftarrow"],.888,522,"xMinYMin"],xrightarrow:[["rightarrow"],1.469,522,"xMaxYMin"],"\\cdrightarrow":[["rightarrow"],3,522,"xMaxYMin"],xleftarrow:[["leftarrow"],1.469,522,"xMinYMin"],"\\cdleftarrow":[["leftarrow"],3,522,"xMinYMin"],Overrightarrow:[["doublerightarrow"],.888,560,"xMaxYMin"],xRightarrow:[["doublerightarrow"],1.526,560,"xMaxYMin"],xLeftarrow:[["doubleleftarrow"],1.526,560,"xMinYMin"],overleftharpoon:[["leftharpoon"],.888,522,"xMinYMin"],xleftharpoonup:[["leftharpoon"],.888,522,"xMinYMin"],xleftharpoondown:[["leftharpoondown"],.888,522,"xMinYMin"],overrightharpoon:[["rightharpoon"],.888,522,"xMaxYMin"],xrightharpoonup:[["rightharpoon"],.888,522,"xMaxYMin"],xrightharpoondown:[["rightharpoondown"],.888,522,"xMaxYMin"],xlongequal:[["longequal"],.888,334,"xMinYMin"],"\\cdlongequal":[["longequal"],3,334,"xMinYMin"],xtwoheadleftarrow:[["twoheadleftarrow"],.888,334,"xMinYMin"],xtwoheadrightarrow:[["twoheadrightarrow"],.888,334,"xMaxYMin"],overleftrightarrow:[["leftarrow","rightarrow"],.888,522],overbrace:[["leftbrace","midbrace","rightbrace"],1.6,548],underbrace:[["leftbraceunder","midbraceunder","rightbraceunder"],1.6,548],underleftrightarrow:[["leftarrow","rightarrow"],.888,522],xleftrightarrow:[["leftarrow","rightarrow"],1.75,522],xLeftrightarrow:[["doubleleftarrow","doublerightarrow"],1.75,560],xrightleftharpoons:[["leftharpoondownplus","rightharpoonplus"],1.75,716],xleftrightharpoons:[["leftharpoonplus","rightharpoondownplus"],1.75,716],xhookleftarrow:[["leftarrow","righthook"],1.08,522],xhookrightarrow:[["lefthook","rightarrow"],1.08,522],overlinesegment:[["leftlinesegment","rightlinesegment"],.888,522],underlinesegment:[["leftlinesegment","rightlinesegment"],.888,522],overgroup:[["leftgroup","rightgroup"],.888,342],undergroup:[["leftgroupunder","rightgroupunder"],.888,342],xmapsto:[["leftmapsto","rightarrow"],1.5,522],xtofrom:[["leftToFrom","rightToFrom"],1.75,528],xrightleftarrows:[["baraboveleftarrow","rightarrowabovebar"],1.75,901],xrightequilibrium:[["baraboveshortleftharpoon","rightharpoonaboveshortbar"],1.75,716],xleftequilibrium:[["shortbaraboveleftharpoon","shortrightharpoonabovebar"],1.75,716]},x9=function(t){return t.type==="ordgroup"?t.body.length:1},T9=function(t,r){function n(){var o=4e5,l=t.label.slice(1);if(_e.contains(["widehat","widecheck","widetilde","utilde"],l)){var u=t,c=x9(u.base),d,p,g;if(c>5)l==="widehat"||l==="widecheck"?(d=420,o=2364,g=.42,p=l+"4"):(d=312,o=2340,g=.34,p="tilde4");else{var v=[1,1,2,2,3,3][c];l==="widehat"||l==="widecheck"?(o=[0,1062,2364,2364,2364][v],d=[0,239,300,360,420][v],g=[0,.24,.3,.3,.36,.42][v],p=l+v):(o=[0,600,1033,2339,2340][v],d=[0,260,286,306,312][v],g=[0,.26,.286,.3,.306,.34][v],p="tilde"+v)}var E=new wn(p),R=new Pr([E],{width:"100%",height:ee(g),viewBox:"0 0 "+o+" "+d,preserveAspectRatio:"none"});return{span:M.makeSvgSpan([],[R],r),minWidth:0,height:g}}else{var _=[],b=E9[l],[T,O,N]=b,B=N/1e3,F=T.length,P,q;if(F===1){var re=b[3];P=["hide-tail"],q=[re]}else if(F===2)P=["halfarrow-left","halfarrow-right"],q=["xMinYMin","xMaxYMin"];else if(F===3)P=["brace-left","brace-center","brace-right"],q=["xMinYMin","xMidYMin","xMaxYMin"];else throw new Error(`Correct katexImagesData or update code here to support `+F+" children.");for(var ie=0;ie0&&(i.style.minWidth=ee(a)),i},k9=function(t,r,n,i,a){var s,o=t.height+t.depth+n+i;if(/fbox|color|angl/.test(r)){if(s=M.makeSpan(["stretchy",r],[],a),r==="fbox"){var l=a.color&&a.getColor();l&&(s.style.borderColor=l)}}else{var u=[];/^[bx]cancel$/.test(r)&&u.push(new ru({x1:"0",y1:"0",x2:"100%",y2:"100%","stroke-width":"0.046em"})),/^x?cancel$/.test(r)&&u.push(new ru({x1:"0",y1:"100%",x2:"100%",y2:"0","stroke-width":"0.046em"}));var c=new Pr(u,{width:"100%",height:ee(o)});s=M.makeSvgSpan([],[c],a)}return s.height=o,s.style.height=ee(o),s},zr={encloseSpan:k9,mathMLnode:S9,svgSpan:T9};function ke(e,t){if(!e||e.type!==t)throw new Error("Expected node of type "+t+", but got "+(e?"node of type "+e.type:String(e)));return e}function kc(e){var t=i0(e);if(!t)throw new Error("Expected node of symbol group type, but got "+(e?"node of type "+e.type:String(e)));return t}function i0(e){return e&&(e.type==="atom"||Jb.hasOwnProperty(e.type))?e:null}var Ac=(e,t)=>{var r,n,i;e&&e.type==="supsub"?(n=ke(e.base,"accent"),r=n.base,e.base=r,i=Kb(Be(e,t)),e.base=n):(n=ke(e,"accent"),r=n.base);var a=Be(r,t.havingCrampedStyle()),s=n.isShifty&&_e.isCharacterBox(r),o=0;if(s){var l=_e.getBaseElem(r),u=Be(l,t.havingCrampedStyle());o=Qd(u).skew}var c=n.label==="\\c",d=c?a.height+a.depth:Math.min(a.height,t.fontMetrics().xHeight),p;if(n.isStretchy)p=zr.svgSpan(n,t),p=M.makeVList({positionType:"firstBaseline",children:[{type:"elem",elem:a},{type:"elem",elem:p,wrapperClasses:["svg-align"],wrapperStyle:o>0?{width:"calc(100% - "+ee(2*o)+")",marginLeft:ee(2*o)}:void 0}]},t);else{var g,v;n.label==="\\vec"?(g=M.staticSvg("vec",t),v=M.svgData.vec[1]):(g=M.makeOrd({mode:n.mode,text:n.label},t,"textord"),g=Qd(g),g.italic=0,v=g.width,c&&(d+=g.depth)),p=M.makeSpan(["accent-body"],[g]);var E=n.label==="\\textcircled";E&&(p.classes.push("accent-full"),d=a.height);var R=o;E||(R-=v/2),p.style.left=ee(R),n.label==="\\textcircled"&&(p.style.top=".2em"),p=M.makeVList({positionType:"firstBaseline",children:[{type:"elem",elem:a},{type:"kern",size:-d},{type:"elem",elem:p}]},t)}var _=M.makeSpan(["mord","accent"],[p],t);return i?(i.children[0]=_,i.height=Math.max(_.height,i.height),i.classes[0]="mord",i):_},k4=(e,t)=>{var r=e.isStretchy?zr.mathMLnode(e.label):new X.MathNode("mo",[Kt(e.label,e.mode)]),n=new X.MathNode("mover",[Fe(e.base,t),r]);return n.setAttribute("accent","true"),n},A9=new RegExp(["\\acute","\\grave","\\ddot","\\tilde","\\bar","\\breve","\\check","\\hat","\\vec","\\dot","\\mathring"].map(e=>"\\"+e).join("|"));le({type:"accent",names:["\\acute","\\grave","\\ddot","\\tilde","\\bar","\\breve","\\check","\\hat","\\vec","\\dot","\\mathring","\\widecheck","\\widehat","\\widetilde","\\overrightarrow","\\overleftarrow","\\Overrightarrow","\\overleftrightarrow","\\overgroup","\\overlinesegment","\\overleftharpoon","\\overrightharpoon"],props:{numArgs:1},handler:(e,t)=>{var r=ko(t[0]),n=!A9.test(e.funcName),i=!n||e.funcName==="\\widehat"||e.funcName==="\\widetilde"||e.funcName==="\\widecheck";return{type:"accent",mode:e.parser.mode,label:e.funcName,isStretchy:n,isShifty:i,base:r}},htmlBuilder:Ac,mathmlBuilder:k4});le({type:"accent",names:["\\'","\\`","\\^","\\~","\\=","\\u","\\.",'\\"',"\\c","\\r","\\H","\\v","\\textcircled"],props:{numArgs:1,allowedInText:!0,allowedInMath:!0,argTypes:["primitive"]},handler:(e,t)=>{var r=t[0],n=e.parser.mode;return n==="math"&&(e.parser.settings.reportNonstrict("mathVsTextAccents","LaTeX's accent "+e.funcName+" works only in text mode"),n="text"),{type:"accent",mode:n,label:e.funcName,isStretchy:!1,isShifty:!0,base:r}},htmlBuilder:Ac,mathmlBuilder:k4});le({type:"accentUnder",names:["\\underleftarrow","\\underrightarrow","\\underleftrightarrow","\\undergroup","\\underlinesegment","\\utilde"],props:{numArgs:1},handler:(e,t)=>{var{parser:r,funcName:n}=e,i=t[0];return{type:"accentUnder",mode:r.mode,label:n,base:i}},htmlBuilder:(e,t)=>{var r=Be(e.base,t),n=zr.svgSpan(e,t),i=e.label==="\\utilde"?.12:0,a=M.makeVList({positionType:"top",positionData:r.height,children:[{type:"elem",elem:n,wrapperClasses:["svg-align"]},{type:"kern",size:i},{type:"elem",elem:r}]},t);return M.makeSpan(["mord","accentunder"],[a],t)},mathmlBuilder:(e,t)=>{var r=zr.mathMLnode(e.label),n=new X.MathNode("munder",[Fe(e.base,t),r]);return n.setAttribute("accentunder","true"),n}});var zs=e=>{var t=new X.MathNode("mpadded",e?[e]:[]);return t.setAttribute("width","+0.6em"),t.setAttribute("lspace","0.3em"),t};le({type:"xArrow",names:["\\xleftarrow","\\xrightarrow","\\xLeftarrow","\\xRightarrow","\\xleftrightarrow","\\xLeftrightarrow","\\xhookleftarrow","\\xhookrightarrow","\\xmapsto","\\xrightharpoondown","\\xrightharpoonup","\\xleftharpoondown","\\xleftharpoonup","\\xrightleftharpoons","\\xleftrightharpoons","\\xlongequal","\\xtwoheadrightarrow","\\xtwoheadleftarrow","\\xtofrom","\\xrightleftarrows","\\xrightequilibrium","\\xleftequilibrium","\\\\cdrightarrow","\\\\cdleftarrow","\\\\cdlongequal"],props:{numArgs:1,numOptionalArgs:1},handler(e,t,r){var{parser:n,funcName:i}=e;return{type:"xArrow",mode:n.mode,label:i,body:t[0],below:r[0]}},htmlBuilder(e,t){var r=t.style,n=t.havingStyle(r.sup()),i=M.wrapFragment(Be(e.body,n,t),t),a=e.label.slice(0,2)==="\\x"?"x":"cd";i.classes.push(a+"-arrow-pad");var s;e.below&&(n=t.havingStyle(r.sub()),s=M.wrapFragment(Be(e.below,n,t),t),s.classes.push(a+"-arrow-pad"));var o=zr.svgSpan(e,t),l=-t.fontMetrics().axisHeight+.5*o.height,u=-t.fontMetrics().axisHeight-.5*o.height-.111;(i.depth>.25||e.label==="\\xleftequilibrium")&&(u-=i.depth);var c;if(s){var d=-t.fontMetrics().axisHeight+s.height+.5*o.height+.111;c=M.makeVList({positionType:"individualShift",children:[{type:"elem",elem:i,shift:u},{type:"elem",elem:o,shift:l},{type:"elem",elem:s,shift:d}]},t)}else c=M.makeVList({positionType:"individualShift",children:[{type:"elem",elem:i,shift:u},{type:"elem",elem:o,shift:l}]},t);return c.children[0].children[0].children[1].classes.push("svg-align"),M.makeSpan(["mrel","x-arrow"],[c],t)},mathmlBuilder(e,t){var r=zr.mathMLnode(e.label);r.setAttribute("minsize",e.label.charAt(0)==="x"?"1.75em":"3.0em");var n;if(e.body){var i=zs(Fe(e.body,t));if(e.below){var a=zs(Fe(e.below,t));n=new X.MathNode("munderover",[r,a,i])}else n=new X.MathNode("mover",[r,i])}else if(e.below){var s=zs(Fe(e.below,t));n=new X.MathNode("munder",[r,s])}else n=zs(),n=new X.MathNode("mover",[r,n]);return n}});var R9=M.makeSpan;function A4(e,t){var r=ot(e.body,t,!0);return R9([e.mclass],r,t)}function R4(e,t){var r,n=It(e.body,t);return e.mclass==="minner"?r=new X.MathNode("mpadded",n):e.mclass==="mord"?e.isCharacterBox?(r=n[0],r.type="mi"):r=new X.MathNode("mi",n):(e.isCharacterBox?(r=n[0],r.type="mo"):r=new X.MathNode("mo",n),e.mclass==="mbin"?(r.attributes.lspace="0.22em",r.attributes.rspace="0.22em"):e.mclass==="mpunct"?(r.attributes.lspace="0em",r.attributes.rspace="0.17em"):e.mclass==="mopen"||e.mclass==="mclose"?(r.attributes.lspace="0em",r.attributes.rspace="0em"):e.mclass==="minner"&&(r.attributes.lspace="0.0556em",r.attributes.width="+0.1111em")),r}le({type:"mclass",names:["\\mathord","\\mathbin","\\mathrel","\\mathopen","\\mathclose","\\mathpunct","\\mathinner"],props:{numArgs:1,primitive:!0},handler(e,t){var{parser:r,funcName:n}=e,i=t[0];return{type:"mclass",mode:r.mode,mclass:"m"+n.slice(5),body:nt(i),isCharacterBox:_e.isCharacterBox(i)}},htmlBuilder:A4,mathmlBuilder:R4});var a0=e=>{var t=e.type==="ordgroup"&&e.body.length?e.body[0]:e;return t.type==="atom"&&(t.family==="bin"||t.family==="rel")?"m"+t.family:"mord"};le({type:"mclass",names:["\\@binrel"],props:{numArgs:2},handler(e,t){var{parser:r}=e;return{type:"mclass",mode:r.mode,mclass:a0(t[0]),body:nt(t[1]),isCharacterBox:_e.isCharacterBox(t[1])}}});le({type:"mclass",names:["\\stackrel","\\overset","\\underset"],props:{numArgs:2},handler(e,t){var{parser:r,funcName:n}=e,i=t[1],a=t[0],s;n!=="\\stackrel"?s=a0(i):s="mrel";var o={type:"op",mode:i.mode,limits:!0,alwaysHandleSupSub:!0,parentIsSupSub:!1,symbol:!1,suppressBaseShift:n!=="\\stackrel",body:nt(i)},l={type:"supsub",mode:a.mode,base:o,sup:n==="\\underset"?null:a,sub:n==="\\underset"?a:null};return{type:"mclass",mode:r.mode,mclass:s,body:[l],isCharacterBox:_e.isCharacterBox(l)}},htmlBuilder:A4,mathmlBuilder:R4});le({type:"pmb",names:["\\pmb"],props:{numArgs:1,allowedInText:!0},handler(e,t){var{parser:r}=e;return{type:"pmb",mode:r.mode,mclass:a0(t[0]),body:nt(t[0])}},htmlBuilder(e,t){var r=ot(e.body,t,!0),n=M.makeSpan([e.mclass],r,t);return n.style.textShadow="0.02em 0.01em 0.04px",n},mathmlBuilder(e,t){var r=It(e.body,t),n=new X.MathNode("mstyle",r);return n.setAttribute("style","text-shadow: 0.02em 0.01em 0.04px"),n}});var O9={">":"\\\\cdrightarrow","<":"\\\\cdleftarrow","=":"\\\\cdlongequal",A:"\\uparrow",V:"\\downarrow","|":"\\Vert",".":"no arrow"},oh=()=>({type:"styling",body:[],mode:"math",style:"display"}),lh=e=>e.type==="textord"&&e.text==="@",M9=(e,t)=>(e.type==="mathord"||e.type==="atom")&&e.text===t;function N9(e,t,r){var n=O9[e];switch(n){case"\\\\cdrightarrow":case"\\\\cdleftarrow":return r.callFunction(n,[t[0]],[t[1]]);case"\\uparrow":case"\\downarrow":{var i=r.callFunction("\\\\cdleft",[t[0]],[]),a={type:"atom",text:n,mode:"math",family:"rel"},s=r.callFunction("\\Big",[a],[]),o=r.callFunction("\\\\cdright",[t[1]],[]),l={type:"ordgroup",mode:"math",body:[i,s,o]};return r.callFunction("\\\\cdparent",[l],[])}case"\\\\cdlongequal":return r.callFunction("\\\\cdlongequal",[],[]);case"\\Vert":{var u={type:"textord",text:"\\Vert",mode:"math"};return r.callFunction("\\Big",[u],[])}default:return{type:"textord",text:" ",mode:"math"}}}function C9(e){var t=[];for(e.gullet.beginGroup(),e.gullet.macros.set("\\cr","\\\\\\relax"),e.gullet.beginGroup();;){t.push(e.parseExpression(!1,"\\\\")),e.gullet.endGroup(),e.gullet.beginGroup();var r=e.fetch().text;if(r==="&"||r==="\\\\")e.consume();else if(r==="\\end"){t[t.length-1].length===0&&t.pop();break}else throw new Z("Expected \\\\ or \\cr or \\end",e.nextToken)}for(var n=[],i=[n],a=0;a-1))if("<>AV".indexOf(u)>-1)for(var d=0;d<2;d++){for(var p=!0,g=l+1;gAV=|." after @',s[l]);var v=N9(u,c,e),E={type:"styling",body:[v],mode:"math",style:"display"};n.push(E),o=oh()}a%2===0?n.push(o):n.shift(),n=[],i.push(n)}e.gullet.endGroup(),e.gullet.endGroup();var R=new Array(i[0].length).fill({type:"align",align:"c",pregap:.25,postgap:.25});return{type:"array",mode:"math",body:i,arraystretch:1,addJot:!0,rowGaps:[null],cols:R,colSeparationType:"CD",hLinesBeforeRow:new Array(i.length+1).fill([])}}le({type:"cdlabel",names:["\\\\cdleft","\\\\cdright"],props:{numArgs:1},handler(e,t){var{parser:r,funcName:n}=e;return{type:"cdlabel",mode:r.mode,side:n.slice(4),label:t[0]}},htmlBuilder(e,t){var r=t.havingStyle(t.style.sup()),n=M.wrapFragment(Be(e.label,r,t),t);return n.classes.push("cd-label-"+e.side),n.style.bottom=ee(.8-n.depth),n.height=0,n.depth=0,n},mathmlBuilder(e,t){var r=new X.MathNode("mrow",[Fe(e.label,t)]);return r=new X.MathNode("mpadded",[r]),r.setAttribute("width","0"),e.side==="left"&&r.setAttribute("lspace","-1width"),r.setAttribute("voffset","0.7em"),r=new X.MathNode("mstyle",[r]),r.setAttribute("displaystyle","false"),r.setAttribute("scriptlevel","1"),r}});le({type:"cdlabelparent",names:["\\\\cdparent"],props:{numArgs:1},handler(e,t){var{parser:r}=e;return{type:"cdlabelparent",mode:r.mode,fragment:t[0]}},htmlBuilder(e,t){var r=M.wrapFragment(Be(e.fragment,t),t);return r.classes.push("cd-vert-arrow"),r},mathmlBuilder(e,t){return new X.MathNode("mrow",[Fe(e.fragment,t)])}});le({type:"textord",names:["\\@char"],props:{numArgs:1,allowedInText:!0},handler(e,t){for(var{parser:r}=e,n=ke(t[0],"ordgroup"),i=n.body,a="",s=0;s=1114111)throw new Z("\\@char with invalid code point "+a);return l<=65535?u=String.fromCharCode(l):(l-=65536,u=String.fromCharCode((l>>10)+55296,(l&1023)+56320)),{type:"textord",mode:r.mode,text:u}}});var O4=(e,t)=>{var r=ot(e.body,t.withColor(e.color),!1);return M.makeFragment(r)},M4=(e,t)=>{var r=It(e.body,t.withColor(e.color)),n=new X.MathNode("mstyle",r);return n.setAttribute("mathcolor",e.color),n};le({type:"color",names:["\\textcolor"],props:{numArgs:2,allowedInText:!0,argTypes:["color","original"]},handler(e,t){var{parser:r}=e,n=ke(t[0],"color-token").color,i=t[1];return{type:"color",mode:r.mode,color:n,body:nt(i)}},htmlBuilder:O4,mathmlBuilder:M4});le({type:"color",names:["\\color"],props:{numArgs:1,allowedInText:!0,argTypes:["color"]},handler(e,t){var{parser:r,breakOnTokenText:n}=e,i=ke(t[0],"color-token").color;r.gullet.macros.set("\\current@color",i);var a=r.parseExpression(!0,n);return{type:"color",mode:r.mode,color:i,body:a}},htmlBuilder:O4,mathmlBuilder:M4});le({type:"cr",names:["\\\\"],props:{numArgs:0,numOptionalArgs:0,allowedInText:!0},handler(e,t,r){var{parser:n}=e,i=n.gullet.future().text==="["?n.parseSizeGroup(!0):null,a=!n.settings.displayMode||!n.settings.useStrictBehavior("newLineInDisplayMode","In LaTeX, \\\\ or \\newline does nothing in display mode");return{type:"cr",mode:n.mode,newLine:a,size:i&&ke(i,"size").value}},htmlBuilder(e,t){var r=M.makeSpan(["mspace"],[],t);return e.newLine&&(r.classes.push("newline"),e.size&&(r.style.marginTop=ee(Ke(e.size,t)))),r},mathmlBuilder(e,t){var r=new X.MathNode("mspace");return e.newLine&&(r.setAttribute("linebreak","newline"),e.size&&r.setAttribute("height",ee(Ke(e.size,t)))),r}});var su={"\\global":"\\global","\\long":"\\\\globallong","\\\\globallong":"\\\\globallong","\\def":"\\gdef","\\gdef":"\\gdef","\\edef":"\\xdef","\\xdef":"\\xdef","\\let":"\\\\globallet","\\futurelet":"\\\\globalfuture"},N4=e=>{var t=e.text;if(/^(?:[\\{}$&#^_]|EOF)$/.test(t))throw new Z("Expected a control sequence",e);return t},I9=e=>{var t=e.gullet.popToken();return t.text==="="&&(t=e.gullet.popToken(),t.text===" "&&(t=e.gullet.popToken())),t},C4=(e,t,r,n)=>{var i=e.gullet.macros.get(r.text);i==null&&(r.noexpand=!0,i={tokens:[r],numArgs:0,unexpandable:!e.gullet.isExpandable(r.text)}),e.gullet.macros.set(t,i,n)};le({type:"internal",names:["\\global","\\long","\\\\globallong"],props:{numArgs:0,allowedInText:!0},handler(e){var{parser:t,funcName:r}=e;t.consumeSpaces();var n=t.fetch();if(su[n.text])return(r==="\\global"||r==="\\\\globallong")&&(n.text=su[n.text]),ke(t.parseFunction(),"internal");throw new Z("Invalid token after macro prefix",n)}});le({type:"internal",names:["\\def","\\gdef","\\edef","\\xdef"],props:{numArgs:0,allowedInText:!0,primitive:!0},handler(e){var{parser:t,funcName:r}=e,n=t.gullet.popToken(),i=n.text;if(/^(?:[\\{}$&#^_]|EOF)$/.test(i))throw new Z("Expected a control sequence",n);for(var a=0,s,o=[[]];t.gullet.future().text!=="{";)if(n=t.gullet.popToken(),n.text==="#"){if(t.gullet.future().text==="{"){s=t.gullet.future(),o[a].push("{");break}if(n=t.gullet.popToken(),!/^[1-9]$/.test(n.text))throw new Z('Invalid argument number "'+n.text+'"');if(parseInt(n.text)!==a+1)throw new Z('Argument number "'+n.text+'" out of order');a++,o.push([])}else{if(n.text==="EOF")throw new Z("Expected a macro definition");o[a].push(n.text)}var{tokens:l}=t.gullet.consumeArg();return s&&l.unshift(s),(r==="\\edef"||r==="\\xdef")&&(l=t.gullet.expandTokens(l),l.reverse()),t.gullet.macros.set(i,{tokens:l,numArgs:a,delimiters:o},r===su[r]),{type:"internal",mode:t.mode}}});le({type:"internal",names:["\\let","\\\\globallet"],props:{numArgs:0,allowedInText:!0,primitive:!0},handler(e){var{parser:t,funcName:r}=e,n=N4(t.gullet.popToken());t.gullet.consumeSpaces();var i=I9(t);return C4(t,n,i,r==="\\\\globallet"),{type:"internal",mode:t.mode}}});le({type:"internal",names:["\\futurelet","\\\\globalfuture"],props:{numArgs:0,allowedInText:!0,primitive:!0},handler(e){var{parser:t,funcName:r}=e,n=N4(t.gullet.popToken()),i=t.gullet.popToken(),a=t.gullet.popToken();return C4(t,n,a,r==="\\\\globalfuture"),t.gullet.pushToken(a),t.gullet.pushToken(i),{type:"internal",mode:t.mode}}});var ba=function(t,r,n){var i=Ue.math[t]&&Ue.math[t].replace,a=wc(i||t,r,n);if(!a)throw new Error("Unsupported symbol "+t+" and font size "+r+".");return a},Rc=function(t,r,n,i){var a=n.havingBaseStyle(r),s=M.makeSpan(i.concat(a.sizingClasses(n)),[t],n),o=a.sizeMultiplier/n.sizeMultiplier;return s.height*=o,s.depth*=o,s.maxFontSize=a.sizeMultiplier,s},I4=function(t,r,n){var i=r.havingBaseStyle(n),a=(1-r.sizeMultiplier/i.sizeMultiplier)*r.fontMetrics().axisHeight;t.classes.push("delimcenter"),t.style.top=ee(a),t.height-=a,t.depth+=a},D9=function(t,r,n,i,a,s){var o=M.makeSymbol(t,"Main-Regular",a,i),l=Rc(o,r,i,s);return n&&I4(l,i,r),l},B9=function(t,r,n,i){return M.makeSymbol(t,"Size"+r+"-Regular",n,i)},D4=function(t,r,n,i,a,s){var o=B9(t,r,a,i),l=Rc(M.makeSpan(["delimsizing","size"+r],[o],i),ye.TEXT,i,s);return n&&I4(l,i,ye.TEXT),l},X0=function(t,r,n){var i;r==="Size1-Regular"?i="delim-size1":i="delim-size4";var a=M.makeSpan(["delimsizinginner",i],[M.makeSpan([],[M.makeSymbol(t,r,n)])]);return{type:"elem",elem:a}},J0=function(t,r,n){var i=dr["Size4-Regular"][t.charCodeAt(0)]?dr["Size4-Regular"][t.charCodeAt(0)][4]:dr["Size1-Regular"][t.charCodeAt(0)][4],a=new wn("inner",Hb(t,Math.round(1e3*r))),s=new Pr([a],{width:ee(i),height:ee(r),style:"width:"+ee(i),viewBox:"0 0 "+1e3*i+" "+Math.round(1e3*r),preserveAspectRatio:"xMinYMin"}),o=M.makeSvgSpan([],[s],n);return o.height=r,o.style.height=ee(r),o.style.width=ee(i),{type:"elem",elem:o}},ou=.008,$s={type:"kern",size:-1*ou},P9=["|","\\lvert","\\rvert","\\vert"],L9=["\\|","\\lVert","\\rVert","\\Vert"],B4=function(t,r,n,i,a,s){var o,l,u,c,d="",p=0;o=u=c=t,l=null;var g="Size1-Regular";t==="\\uparrow"?u=c="⏐":t==="\\Uparrow"?u=c="‖":t==="\\downarrow"?o=u="⏐":t==="\\Downarrow"?o=u="‖":t==="\\updownarrow"?(o="\\uparrow",u="⏐",c="\\downarrow"):t==="\\Updownarrow"?(o="\\Uparrow",u="‖",c="\\Downarrow"):_e.contains(P9,t)?(u="∣",d="vert",p=333):_e.contains(L9,t)?(u="∥",d="doublevert",p=556):t==="["||t==="\\lbrack"?(o="⎡",u="⎢",c="⎣",g="Size4-Regular",d="lbrack",p=667):t==="]"||t==="\\rbrack"?(o="⎤",u="⎥",c="⎦",g="Size4-Regular",d="rbrack",p=667):t==="\\lfloor"||t==="⌊"?(u=o="⎢",c="⎣",g="Size4-Regular",d="lfloor",p=667):t==="\\lceil"||t==="⌈"?(o="⎡",u=c="⎢",g="Size4-Regular",d="lceil",p=667):t==="\\rfloor"||t==="⌋"?(u=o="⎥",c="⎦",g="Size4-Regular",d="rfloor",p=667):t==="\\rceil"||t==="⌉"?(o="⎤",u=c="⎥",g="Size4-Regular",d="rceil",p=667):t==="("||t==="\\lparen"?(o="⎛",u="⎜",c="⎝",g="Size4-Regular",d="lparen",p=875):t===")"||t==="\\rparen"?(o="⎞",u="⎟",c="⎠",g="Size4-Regular",d="rparen",p=875):t==="\\{"||t==="\\lbrace"?(o="⎧",l="⎨",c="⎩",u="⎪",g="Size4-Regular"):t==="\\}"||t==="\\rbrace"?(o="⎫",l="⎬",c="⎭",u="⎪",g="Size4-Regular"):t==="\\lgroup"||t==="⟮"?(o="⎧",c="⎩",u="⎪",g="Size4-Regular"):t==="\\rgroup"||t==="⟯"?(o="⎫",c="⎭",u="⎪",g="Size4-Regular"):t==="\\lmoustache"||t==="⎰"?(o="⎧",c="⎭",u="⎪",g="Size4-Regular"):(t==="\\rmoustache"||t==="⎱")&&(o="⎫",c="⎩",u="⎪",g="Size4-Regular");var v=ba(o,g,a),E=v.height+v.depth,R=ba(u,g,a),_=R.height+R.depth,b=ba(c,g,a),T=b.height+b.depth,O=0,N=1;if(l!==null){var B=ba(l,g,a);O=B.height+B.depth,N=2}var F=E+T+O,P=Math.max(0,Math.ceil((r-F)/(N*_))),q=F+P*N*_,re=i.fontMetrics().axisHeight;n&&(re*=i.sizeMultiplier);var ie=q/2-re,j=[];if(d.length>0){var oe=q-E-T,W=Math.round(q*1e3),Ee=Ub(d,Math.round(oe*1e3)),I=new wn(d,Ee),K=(p/1e3).toFixed(3)+"em",ne=(W/1e3).toFixed(3)+"em",ge=new Pr([I],{width:K,height:ne,viewBox:"0 0 "+p+" "+W}),Te=M.makeSvgSpan([],[ge],i);Te.height=W/1e3,Te.style.width=K,Te.style.height=ne,j.push({type:"elem",elem:Te})}else{if(j.push(X0(c,g,a)),j.push($s),l===null){var Ne=q-E-T+2*ou;j.push(J0(u,Ne,i))}else{var Re=(q-E-T-O)/2+2*ou;j.push(J0(u,Re,i)),j.push($s),j.push(X0(l,g,a)),j.push($s),j.push(J0(u,Re,i))}j.push($s),j.push(X0(o,g,a))}var ut=i.havingBaseStyle(ye.TEXT),Je=M.makeVList({positionType:"bottom",positionData:ie,children:j},ut);return Rc(M.makeSpan(["delimsizing","mult"],[Je],ut),ye.TEXT,i,s)},Z0=80,Q0=.08,el=function(t,r,n,i,a){var s=Fb(t,i,n),o=new wn(t,s),l=new Pr([o],{width:"400em",height:ee(r),viewBox:"0 0 400000 "+n,preserveAspectRatio:"xMinYMin slice"});return M.makeSvgSpan(["hide-tail"],[l],a)},z9=function(t,r){var n=r.havingBaseSizing(),i=$4("\\surd",t*n.sizeMultiplier,z4,n),a=n.sizeMultiplier,s=Math.max(0,r.minRuleThickness-r.fontMetrics().sqrtRuleThickness),o,l=0,u=0,c=0,d;return i.type==="small"?(c=1e3+1e3*s+Z0,t<1?a=1:t<1.4&&(a=.7),l=(1+s+Q0)/a,u=(1+s)/a,o=el("sqrtMain",l,c,s,r),o.style.minWidth="0.853em",d=.833/a):i.type==="large"?(c=(1e3+Z0)*Na[i.size],u=(Na[i.size]+s)/a,l=(Na[i.size]+s+Q0)/a,o=el("sqrtSize"+i.size,l,c,s,r),o.style.minWidth="1.02em",d=1/a):(l=t+s+Q0,u=t+s,c=Math.floor(1e3*t+s)+Z0,o=el("sqrtTall",l,c,s,r),o.style.minWidth="0.742em",d=1.056),o.height=u,o.style.height=ee(l),{span:o,advanceWidth:d,ruleWidth:(r.fontMetrics().sqrtRuleThickness+s)*a}},P4=["(","\\lparen",")","\\rparen","[","\\lbrack","]","\\rbrack","\\{","\\lbrace","\\}","\\rbrace","\\lfloor","\\rfloor","⌊","⌋","\\lceil","\\rceil","⌈","⌉","\\surd"],$9=["\\uparrow","\\downarrow","\\updownarrow","\\Uparrow","\\Downarrow","\\Updownarrow","|","\\|","\\vert","\\Vert","\\lvert","\\rvert","\\lVert","\\rVert","\\lgroup","\\rgroup","⟮","⟯","\\lmoustache","\\rmoustache","⎰","⎱"],L4=["<",">","\\langle","\\rangle","/","\\backslash","\\lt","\\gt"],Na=[0,1.2,1.8,2.4,3],F9=function(t,r,n,i,a){if(t==="<"||t==="\\lt"||t==="⟨"?t="\\langle":(t===">"||t==="\\gt"||t==="⟩")&&(t="\\rangle"),_e.contains(P4,t)||_e.contains(L4,t))return D4(t,r,!1,n,i,a);if(_e.contains($9,t))return B4(t,Na[r],!1,n,i,a);throw new Z("Illegal delimiter: '"+t+"'")},H9=[{type:"small",style:ye.SCRIPTSCRIPT},{type:"small",style:ye.SCRIPT},{type:"small",style:ye.TEXT},{type:"large",size:1},{type:"large",size:2},{type:"large",size:3},{type:"large",size:4}],U9=[{type:"small",style:ye.SCRIPTSCRIPT},{type:"small",style:ye.SCRIPT},{type:"small",style:ye.TEXT},{type:"stack"}],z4=[{type:"small",style:ye.SCRIPTSCRIPT},{type:"small",style:ye.SCRIPT},{type:"small",style:ye.TEXT},{type:"large",size:1},{type:"large",size:2},{type:"large",size:3},{type:"large",size:4},{type:"stack"}],j9=function(t){if(t.type==="small")return"Main-Regular";if(t.type==="large")return"Size"+t.size+"-Regular";if(t.type==="stack")return"Size4-Regular";throw new Error("Add support for delim type '"+t.type+"' here.")},$4=function(t,r,n,i){for(var a=Math.min(2,3-i.style.size),s=a;sr)return n[s]}return n[n.length-1]},F4=function(t,r,n,i,a,s){t==="<"||t==="\\lt"||t==="⟨"?t="\\langle":(t===">"||t==="\\gt"||t==="⟩")&&(t="\\rangle");var o;_e.contains(L4,t)?o=H9:_e.contains(P4,t)?o=z4:o=U9;var l=$4(t,r,o,i);return l.type==="small"?D9(t,l.style,n,i,a,s):l.type==="large"?D4(t,l.size,n,i,a,s):B4(t,r,n,i,a,s)},q9=function(t,r,n,i,a,s){var o=i.fontMetrics().axisHeight*i.sizeMultiplier,l=901,u=5/i.fontMetrics().ptPerEm,c=Math.max(r-o,n+o),d=Math.max(c/500*l,2*c-u);return F4(t,d,!0,i,a,s)},Cr={sqrtImage:z9,sizedDelim:F9,sizeToMaxHeight:Na,customSizedDelim:F4,leftRightDelim:q9},uh={"\\bigl":{mclass:"mopen",size:1},"\\Bigl":{mclass:"mopen",size:2},"\\biggl":{mclass:"mopen",size:3},"\\Biggl":{mclass:"mopen",size:4},"\\bigr":{mclass:"mclose",size:1},"\\Bigr":{mclass:"mclose",size:2},"\\biggr":{mclass:"mclose",size:3},"\\Biggr":{mclass:"mclose",size:4},"\\bigm":{mclass:"mrel",size:1},"\\Bigm":{mclass:"mrel",size:2},"\\biggm":{mclass:"mrel",size:3},"\\Biggm":{mclass:"mrel",size:4},"\\big":{mclass:"mord",size:1},"\\Big":{mclass:"mord",size:2},"\\bigg":{mclass:"mord",size:3},"\\Bigg":{mclass:"mord",size:4}},G9=["(","\\lparen",")","\\rparen","[","\\lbrack","]","\\rbrack","\\{","\\lbrace","\\}","\\rbrace","\\lfloor","\\rfloor","⌊","⌋","\\lceil","\\rceil","⌈","⌉","<",">","\\langle","⟨","\\rangle","⟩","\\lt","\\gt","\\lvert","\\rvert","\\lVert","\\rVert","\\lgroup","\\rgroup","⟮","⟯","\\lmoustache","\\rmoustache","⎰","⎱","/","\\backslash","|","\\vert","\\|","\\Vert","\\uparrow","\\Uparrow","\\downarrow","\\Downarrow","\\updownarrow","\\Updownarrow","."];function s0(e,t){var r=i0(e);if(r&&_e.contains(G9,r.text))return r;throw r?new Z("Invalid delimiter '"+r.text+"' after '"+t.funcName+"'",e):new Z("Invalid delimiter type '"+e.type+"'",e)}le({type:"delimsizing",names:["\\bigl","\\Bigl","\\biggl","\\Biggl","\\bigr","\\Bigr","\\biggr","\\Biggr","\\bigm","\\Bigm","\\biggm","\\Biggm","\\big","\\Big","\\bigg","\\Bigg"],props:{numArgs:1,argTypes:["primitive"]},handler:(e,t)=>{var r=s0(t[0],e);return{type:"delimsizing",mode:e.parser.mode,size:uh[e.funcName].size,mclass:uh[e.funcName].mclass,delim:r.text}},htmlBuilder:(e,t)=>e.delim==="."?M.makeSpan([e.mclass]):Cr.sizedDelim(e.delim,e.size,t,e.mode,[e.mclass]),mathmlBuilder:e=>{var t=[];e.delim!=="."&&t.push(Kt(e.delim,e.mode));var r=new X.MathNode("mo",t);e.mclass==="mopen"||e.mclass==="mclose"?r.setAttribute("fence","true"):r.setAttribute("fence","false"),r.setAttribute("stretchy","true");var n=ee(Cr.sizeToMaxHeight[e.size]);return r.setAttribute("minsize",n),r.setAttribute("maxsize",n),r}});function ch(e){if(!e.body)throw new Error("Bug: The leftright ParseNode wasn't fully parsed.")}le({type:"leftright-right",names:["\\right"],props:{numArgs:1,primitive:!0},handler:(e,t)=>{var r=e.parser.gullet.macros.get("\\current@color");if(r&&typeof r!="string")throw new Z("\\current@color set to non-string in \\right");return{type:"leftright-right",mode:e.parser.mode,delim:s0(t[0],e).text,color:r}}});le({type:"leftright",names:["\\left"],props:{numArgs:1,primitive:!0},handler:(e,t)=>{var r=s0(t[0],e),n=e.parser;++n.leftrightDepth;var i=n.parseExpression(!1);--n.leftrightDepth,n.expect("\\right",!1);var a=ke(n.parseFunction(),"leftright-right");return{type:"leftright",mode:n.mode,body:i,left:r.text,right:a.delim,rightColor:a.color}},htmlBuilder:(e,t)=>{ch(e);for(var r=ot(e.body,t,!0,["mopen","mclose"]),n=0,i=0,a=!1,s=0;s{ch(e);var r=It(e.body,t);if(e.left!=="."){var n=new X.MathNode("mo",[Kt(e.left,e.mode)]);n.setAttribute("fence","true"),r.unshift(n)}if(e.right!=="."){var i=new X.MathNode("mo",[Kt(e.right,e.mode)]);i.setAttribute("fence","true"),e.rightColor&&i.setAttribute("mathcolor",e.rightColor),r.push(i)}return xc(r)}});le({type:"middle",names:["\\middle"],props:{numArgs:1,primitive:!0},handler:(e,t)=>{var r=s0(t[0],e);if(!e.parser.leftrightDepth)throw new Z("\\middle without preceding \\left",r);return{type:"middle",mode:e.parser.mode,delim:r.text}},htmlBuilder:(e,t)=>{var r;if(e.delim===".")r=Wa(t,[]);else{r=Cr.sizedDelim(e.delim,1,t,e.mode,[]);var n={delim:e.delim,options:t};r.isMiddle=n}return r},mathmlBuilder:(e,t)=>{var r=e.delim==="\\vert"||e.delim==="|"?Kt("|","text"):Kt(e.delim,e.mode),n=new X.MathNode("mo",[r]);return n.setAttribute("fence","true"),n.setAttribute("lspace","0.05em"),n.setAttribute("rspace","0.05em"),n}});var Oc=(e,t)=>{var r=M.wrapFragment(Be(e.body,t),t),n=e.label.slice(1),i=t.sizeMultiplier,a,s=0,o=_e.isCharacterBox(e.body);if(n==="sout")a=M.makeSpan(["stretchy","sout"]),a.height=t.fontMetrics().defaultRuleThickness/i,s=-.5*t.fontMetrics().xHeight;else if(n==="phase"){var l=Ke({number:.6,unit:"pt"},t),u=Ke({number:.35,unit:"ex"},t),c=t.havingBaseSizing();i=i/c.sizeMultiplier;var d=r.height+r.depth+l+u;r.style.paddingLeft=ee(d/2+l);var p=Math.floor(1e3*d*i),g=zb(p),v=new Pr([new wn("phase",g)],{width:"400em",height:ee(p/1e3),viewBox:"0 0 400000 "+p,preserveAspectRatio:"xMinYMin slice"});a=M.makeSvgSpan(["hide-tail"],[v],t),a.style.height=ee(d),s=r.depth+l+u}else{/cancel/.test(n)?o||r.classes.push("cancel-pad"):n==="angl"?r.classes.push("anglpad"):r.classes.push("boxpad");var E=0,R=0,_=0;/box/.test(n)?(_=Math.max(t.fontMetrics().fboxrule,t.minRuleThickness),E=t.fontMetrics().fboxsep+(n==="colorbox"?0:_),R=E):n==="angl"?(_=Math.max(t.fontMetrics().defaultRuleThickness,t.minRuleThickness),E=4*_,R=Math.max(0,.25-r.depth)):(E=o?.2:0,R=E),a=zr.encloseSpan(r,n,E,R,t),/fbox|boxed|fcolorbox/.test(n)?(a.style.borderStyle="solid",a.style.borderWidth=ee(_)):n==="angl"&&_!==.049&&(a.style.borderTopWidth=ee(_),a.style.borderRightWidth=ee(_)),s=r.depth+R,e.backgroundColor&&(a.style.backgroundColor=e.backgroundColor,e.borderColor&&(a.style.borderColor=e.borderColor))}var b;if(e.backgroundColor)b=M.makeVList({positionType:"individualShift",children:[{type:"elem",elem:a,shift:s},{type:"elem",elem:r,shift:0}]},t);else{var T=/cancel|phase/.test(n)?["svg-align"]:[];b=M.makeVList({positionType:"individualShift",children:[{type:"elem",elem:r,shift:0},{type:"elem",elem:a,shift:s,wrapperClasses:T}]},t)}return/cancel/.test(n)&&(b.height=r.height,b.depth=r.depth),/cancel/.test(n)&&!o?M.makeSpan(["mord","cancel-lap"],[b],t):M.makeSpan(["mord"],[b],t)},Mc=(e,t)=>{var r=0,n=new X.MathNode(e.label.indexOf("colorbox")>-1?"mpadded":"menclose",[Fe(e.body,t)]);switch(e.label){case"\\cancel":n.setAttribute("notation","updiagonalstrike");break;case"\\bcancel":n.setAttribute("notation","downdiagonalstrike");break;case"\\phase":n.setAttribute("notation","phasorangle");break;case"\\sout":n.setAttribute("notation","horizontalstrike");break;case"\\fbox":n.setAttribute("notation","box");break;case"\\angl":n.setAttribute("notation","actuarial");break;case"\\fcolorbox":case"\\colorbox":if(r=t.fontMetrics().fboxsep*t.fontMetrics().ptPerEm,n.setAttribute("width","+"+2*r+"pt"),n.setAttribute("height","+"+2*r+"pt"),n.setAttribute("lspace",r+"pt"),n.setAttribute("voffset",r+"pt"),e.label==="\\fcolorbox"){var i=Math.max(t.fontMetrics().fboxrule,t.minRuleThickness);n.setAttribute("style","border: "+i+"em solid "+String(e.borderColor))}break;case"\\xcancel":n.setAttribute("notation","updiagonalstrike downdiagonalstrike");break}return e.backgroundColor&&n.setAttribute("mathbackground",e.backgroundColor),n};le({type:"enclose",names:["\\colorbox"],props:{numArgs:2,allowedInText:!0,argTypes:["color","text"]},handler(e,t,r){var{parser:n,funcName:i}=e,a=ke(t[0],"color-token").color,s=t[1];return{type:"enclose",mode:n.mode,label:i,backgroundColor:a,body:s}},htmlBuilder:Oc,mathmlBuilder:Mc});le({type:"enclose",names:["\\fcolorbox"],props:{numArgs:3,allowedInText:!0,argTypes:["color","color","text"]},handler(e,t,r){var{parser:n,funcName:i}=e,a=ke(t[0],"color-token").color,s=ke(t[1],"color-token").color,o=t[2];return{type:"enclose",mode:n.mode,label:i,backgroundColor:s,borderColor:a,body:o}},htmlBuilder:Oc,mathmlBuilder:Mc});le({type:"enclose",names:["\\fbox"],props:{numArgs:1,argTypes:["hbox"],allowedInText:!0},handler(e,t){var{parser:r}=e;return{type:"enclose",mode:r.mode,label:"\\fbox",body:t[0]}}});le({type:"enclose",names:["\\cancel","\\bcancel","\\xcancel","\\sout","\\phase"],props:{numArgs:1},handler(e,t){var{parser:r,funcName:n}=e,i=t[0];return{type:"enclose",mode:r.mode,label:n,body:i}},htmlBuilder:Oc,mathmlBuilder:Mc});le({type:"enclose",names:["\\angl"],props:{numArgs:1,argTypes:["hbox"],allowedInText:!1},handler(e,t){var{parser:r}=e;return{type:"enclose",mode:r.mode,label:"\\angl",body:t[0]}}});var H4={};function yr(e){for(var{type:t,names:r,props:n,handler:i,htmlBuilder:a,mathmlBuilder:s}=e,o={type:t,numArgs:n.numArgs||0,allowedInText:!1,numOptionalArgs:0,handler:i},l=0;l{var t=e.parser.settings;if(!t.displayMode)throw new Z("{"+e.envName+"} can be used only in display mode.")};function Nc(e){if(e.indexOf("ed")===-1)return e.indexOf("*")===-1}function Rn(e,t,r){var{hskipBeforeAndAfter:n,addJot:i,cols:a,arraystretch:s,colSeparationType:o,autoTag:l,singleRow:u,emptySingleRow:c,maxNumCols:d,leqno:p}=t;if(e.gullet.beginGroup(),u||e.gullet.macros.set("\\cr","\\\\\\relax"),!s){var g=e.gullet.expandMacroAsText("\\arraystretch");if(g==null)s=1;else if(s=parseFloat(g),!s||s<0)throw new Z("Invalid \\arraystretch: "+g)}e.gullet.beginGroup();var v=[],E=[v],R=[],_=[],b=l!=null?[]:void 0;function T(){l&&e.gullet.macros.set("\\@eqnsw","1",!0)}function O(){b&&(e.gullet.macros.get("\\df@tag")?(b.push(e.subparse([new qt("\\df@tag")])),e.gullet.macros.set("\\df@tag",void 0,!0)):b.push(Boolean(l)&&e.gullet.macros.get("\\@eqnsw")==="1"))}for(T(),_.push(fh(e));;){var N=e.parseExpression(!1,u?"\\end":"\\\\");e.gullet.endGroup(),e.gullet.beginGroup(),N={type:"ordgroup",mode:e.mode,body:N},r&&(N={type:"styling",mode:e.mode,style:r,body:[N]}),v.push(N);var B=e.fetch().text;if(B==="&"){if(d&&v.length===d){if(u||o)throw new Z("Too many tab characters: &",e.nextToken);e.settings.reportNonstrict("textEnv","Too few columns specified in the {array} column argument.")}e.consume()}else if(B==="\\end"){O(),v.length===1&&N.type==="styling"&&N.body[0].body.length===0&&(E.length>1||!c)&&E.pop(),_.length0&&(T+=.25),u.push({pos:T,isDashed:ae[U]})}for(O(s[0]),n=0;n0&&(ie+=b,Fae))for(n=0;n=o)){var te=void 0;(i>0||t.hskipBeforeAndAfter)&&(te=_e.deflt(Re.pregap,p),te!==0&&(Ee=M.makeSpan(["arraycolsep"],[]),Ee.style.width=ee(te),W.push(Ee)));var de=[];for(n=0;n0){for(var w=M.makeLineSpan("hline",r,c),k=M.makeLineSpan("hdashline",r,c),C=[{type:"elem",elem:l,shift:0}];u.length>0;){var z=u.pop(),H=z.pos-j;z.isDashed?C.push({type:"elem",elem:k,shift:H}):C.push({type:"elem",elem:w,shift:H})}l=M.makeVList({positionType:"individualShift",children:C},r)}if(K.length===0)return M.makeSpan(["mord"],[l],r);var D=M.makeVList({positionType:"individualShift",children:K},r);return D=M.makeSpan(["tag"],[D],r),M.makeFragment([l,D])},Y9={c:"center ",l:"left ",r:"right "},br=function(t,r){for(var n=[],i=new X.MathNode("mtd",[],["mtr-glue"]),a=new X.MathNode("mtd",[],["mml-eqn-num"]),s=0;s0){var v=t.cols,E="",R=!1,_=0,b=v.length;v[0].type==="separator"&&(p+="top ",_=1),v[v.length-1].type==="separator"&&(p+="bottom ",b-=1);for(var T=_;T0?"left ":"",p+=P[P.length-1].length>0?"right ":"";for(var q=1;q-1?"alignat":"align",a=t.envName==="split",s=Rn(t.parser,{cols:n,addJot:!0,autoTag:a?void 0:Nc(t.envName),emptySingleRow:!0,colSeparationType:i,maxNumCols:a?2:void 0,leqno:t.parser.settings.leqno},"display"),o,l=0,u={type:"ordgroup",mode:t.mode,body:[]};if(r[0]&&r[0].type==="ordgroup"){for(var c="",d=0;d0&&g&&(R=1),n[v]={type:"align",align:E,pregap:R,postgap:0}}return s.colSeparationType=g?"align":"alignat",s};yr({type:"array",names:["array","darray"],props:{numArgs:1},handler(e,t){var r=i0(t[0]),n=r?[t[0]]:ke(t[0],"ordgroup").body,i=n.map(function(s){var o=kc(s),l=o.text;if("lcr".indexOf(l)!==-1)return{type:"align",align:l};if(l==="|")return{type:"separator",separator:"|"};if(l===":")return{type:"separator",separator:":"};throw new Z("Unknown column alignment: "+l,s)}),a={cols:i,hskipBeforeAndAfter:!0,maxNumCols:i.length};return Rn(e.parser,a,Cc(e.envName))},htmlBuilder:vr,mathmlBuilder:br});yr({type:"array",names:["matrix","pmatrix","bmatrix","Bmatrix","vmatrix","Vmatrix","matrix*","pmatrix*","bmatrix*","Bmatrix*","vmatrix*","Vmatrix*"],props:{numArgs:0},handler(e){var t={matrix:null,pmatrix:["(",")"],bmatrix:["[","]"],Bmatrix:["\\{","\\}"],vmatrix:["|","|"],Vmatrix:["\\Vert","\\Vert"]}[e.envName.replace("*","")],r="c",n={hskipBeforeAndAfter:!1,cols:[{type:"align",align:r}]};if(e.envName.charAt(e.envName.length-1)==="*"){var i=e.parser;if(i.consumeSpaces(),i.fetch().text==="["){if(i.consume(),i.consumeSpaces(),r=i.fetch().text,"lcr".indexOf(r)===-1)throw new Z("Expected l or c or r",i.nextToken);i.consume(),i.consumeSpaces(),i.expect("]"),i.consume(),n.cols=[{type:"align",align:r}]}}var a=Rn(e.parser,n,Cc(e.envName)),s=Math.max(0,...a.body.map(o=>o.length));return a.cols=new Array(s).fill({type:"align",align:r}),t?{type:"leftright",mode:e.mode,body:[a],left:t[0],right:t[1],rightColor:void 0}:a},htmlBuilder:vr,mathmlBuilder:br});yr({type:"array",names:["smallmatrix"],props:{numArgs:0},handler(e){var t={arraystretch:.5},r=Rn(e.parser,t,"script");return r.colSeparationType="small",r},htmlBuilder:vr,mathmlBuilder:br});yr({type:"array",names:["subarray"],props:{numArgs:1},handler(e,t){var r=i0(t[0]),n=r?[t[0]]:ke(t[0],"ordgroup").body,i=n.map(function(s){var o=kc(s),l=o.text;if("lc".indexOf(l)!==-1)return{type:"align",align:l};throw new Z("Unknown column alignment: "+l,s)});if(i.length>1)throw new Z("{subarray} can contain only one column");var a={cols:i,hskipBeforeAndAfter:!1,arraystretch:.5};if(a=Rn(e.parser,a,"script"),a.body.length>0&&a.body[0].length>1)throw new Z("{subarray} can contain only one column");return a},htmlBuilder:vr,mathmlBuilder:br});yr({type:"array",names:["cases","dcases","rcases","drcases"],props:{numArgs:0},handler(e){var t={arraystretch:1.2,cols:[{type:"align",align:"l",pregap:0,postgap:1},{type:"align",align:"l",pregap:0,postgap:0}]},r=Rn(e.parser,t,Cc(e.envName));return{type:"leftright",mode:e.mode,body:[r],left:e.envName.indexOf("r")>-1?".":"\\{",right:e.envName.indexOf("r")>-1?"\\}":".",rightColor:void 0}},htmlBuilder:vr,mathmlBuilder:br});yr({type:"array",names:["align","align*","aligned","split"],props:{numArgs:0},handler:j4,htmlBuilder:vr,mathmlBuilder:br});yr({type:"array",names:["gathered","gather","gather*"],props:{numArgs:0},handler(e){_e.contains(["gather","gather*"],e.envName)&&o0(e);var t={cols:[{type:"align",align:"c"}],addJot:!0,colSeparationType:"gather",autoTag:Nc(e.envName),emptySingleRow:!0,leqno:e.parser.settings.leqno};return Rn(e.parser,t,"display")},htmlBuilder:vr,mathmlBuilder:br});yr({type:"array",names:["alignat","alignat*","alignedat"],props:{numArgs:1},handler:j4,htmlBuilder:vr,mathmlBuilder:br});yr({type:"array",names:["equation","equation*"],props:{numArgs:0},handler(e){o0(e);var t={autoTag:Nc(e.envName),emptySingleRow:!0,singleRow:!0,maxNumCols:1,leqno:e.parser.settings.leqno};return Rn(e.parser,t,"display")},htmlBuilder:vr,mathmlBuilder:br});yr({type:"array",names:["CD"],props:{numArgs:0},handler(e){return o0(e),C9(e.parser)},htmlBuilder:vr,mathmlBuilder:br});y("\\nonumber","\\gdef\\@eqnsw{0}");y("\\notag","\\nonumber");le({type:"text",names:["\\hline","\\hdashline"],props:{numArgs:0,allowedInText:!0,allowedInMath:!0},handler(e,t){throw new Z(e.funcName+" valid only within array environment")}});var dh=H4;le({type:"environment",names:["\\begin","\\end"],props:{numArgs:1,argTypes:["text"]},handler(e,t){var{parser:r,funcName:n}=e,i=t[0];if(i.type!=="ordgroup")throw new Z("Invalid environment name",i);for(var a="",s=0;s{var r=e.font,n=t.withFont(r);return Be(e.body,n)},G4=(e,t)=>{var r=e.font,n=t.withFont(r);return Fe(e.body,n)},hh={"\\Bbb":"\\mathbb","\\bold":"\\mathbf","\\frak":"\\mathfrak","\\bm":"\\boldsymbol"};le({type:"font",names:["\\mathrm","\\mathit","\\mathbf","\\mathnormal","\\mathbb","\\mathcal","\\mathfrak","\\mathscr","\\mathsf","\\mathtt","\\Bbb","\\bold","\\frak"],props:{numArgs:1,allowedInArgument:!0},handler:(e,t)=>{var{parser:r,funcName:n}=e,i=ko(t[0]),a=n;return a in hh&&(a=hh[a]),{type:"font",mode:r.mode,font:a.slice(1),body:i}},htmlBuilder:q4,mathmlBuilder:G4});le({type:"mclass",names:["\\boldsymbol","\\bm"],props:{numArgs:1},handler:(e,t)=>{var{parser:r}=e,n=t[0],i=_e.isCharacterBox(n);return{type:"mclass",mode:r.mode,mclass:a0(n),body:[{type:"font",mode:r.mode,font:"boldsymbol",body:n}],isCharacterBox:i}}});le({type:"font",names:["\\rm","\\sf","\\tt","\\bf","\\it","\\cal"],props:{numArgs:0,allowedInText:!0},handler:(e,t)=>{var{parser:r,funcName:n,breakOnTokenText:i}=e,{mode:a}=r,s=r.parseExpression(!0,i),o="math"+n.slice(1);return{type:"font",mode:a,font:o,body:{type:"ordgroup",mode:r.mode,body:s}}},htmlBuilder:q4,mathmlBuilder:G4});var Y4=(e,t)=>{var r=t;return e==="display"?r=r.id>=ye.SCRIPT.id?r.text():ye.DISPLAY:e==="text"&&r.size===ye.DISPLAY.size?r=ye.TEXT:e==="script"?r=ye.SCRIPT:e==="scriptscript"&&(r=ye.SCRIPTSCRIPT),r},Ic=(e,t)=>{var r=Y4(e.size,t.style),n=r.fracNum(),i=r.fracDen(),a;a=t.havingStyle(n);var s=Be(e.numer,a,t);if(e.continued){var o=8.5/t.fontMetrics().ptPerEm,l=3.5/t.fontMetrics().ptPerEm;s.height=s.height0?v=3*p:v=7*p,E=t.fontMetrics().denom1):(d>0?(g=t.fontMetrics().num2,v=p):(g=t.fontMetrics().num3,v=3*p),E=t.fontMetrics().denom2);var R;if(c){var b=t.fontMetrics().axisHeight;g-s.depth-(b+.5*d){var r=new X.MathNode("mfrac",[Fe(e.numer,t),Fe(e.denom,t)]);if(!e.hasBarLine)r.setAttribute("linethickness","0px");else if(e.barSize){var n=Ke(e.barSize,t);r.setAttribute("linethickness",ee(n))}var i=Y4(e.size,t.style);if(i.size!==t.style.size){r=new X.MathNode("mstyle",[r]);var a=i.size===ye.DISPLAY.size?"true":"false";r.setAttribute("displaystyle",a),r.setAttribute("scriptlevel","0")}if(e.leftDelim!=null||e.rightDelim!=null){var s=[];if(e.leftDelim!=null){var o=new X.MathNode("mo",[new X.TextNode(e.leftDelim.replace("\\",""))]);o.setAttribute("fence","true"),s.push(o)}if(s.push(r),e.rightDelim!=null){var l=new X.MathNode("mo",[new X.TextNode(e.rightDelim.replace("\\",""))]);l.setAttribute("fence","true"),s.push(l)}return xc(s)}return r};le({type:"genfrac",names:["\\dfrac","\\frac","\\tfrac","\\dbinom","\\binom","\\tbinom","\\\\atopfrac","\\\\bracefrac","\\\\brackfrac"],props:{numArgs:2,allowedInArgument:!0},handler:(e,t)=>{var{parser:r,funcName:n}=e,i=t[0],a=t[1],s,o=null,l=null,u="auto";switch(n){case"\\dfrac":case"\\frac":case"\\tfrac":s=!0;break;case"\\\\atopfrac":s=!1;break;case"\\dbinom":case"\\binom":case"\\tbinom":s=!1,o="(",l=")";break;case"\\\\bracefrac":s=!1,o="\\{",l="\\}";break;case"\\\\brackfrac":s=!1,o="[",l="]";break;default:throw new Error("Unrecognized genfrac command")}switch(n){case"\\dfrac":case"\\dbinom":u="display";break;case"\\tfrac":case"\\tbinom":u="text";break}return{type:"genfrac",mode:r.mode,continued:!1,numer:i,denom:a,hasBarLine:s,leftDelim:o,rightDelim:l,size:u,barSize:null}},htmlBuilder:Ic,mathmlBuilder:Dc});le({type:"genfrac",names:["\\cfrac"],props:{numArgs:2},handler:(e,t)=>{var{parser:r,funcName:n}=e,i=t[0],a=t[1];return{type:"genfrac",mode:r.mode,continued:!0,numer:i,denom:a,hasBarLine:!0,leftDelim:null,rightDelim:null,size:"display",barSize:null}}});le({type:"infix",names:["\\over","\\choose","\\atop","\\brace","\\brack"],props:{numArgs:0,infix:!0},handler(e){var{parser:t,funcName:r,token:n}=e,i;switch(r){case"\\over":i="\\frac";break;case"\\choose":i="\\binom";break;case"\\atop":i="\\\\atopfrac";break;case"\\brace":i="\\\\bracefrac";break;case"\\brack":i="\\\\brackfrac";break;default:throw new Error("Unrecognized infix genfrac command")}return{type:"infix",mode:t.mode,replaceWith:i,token:n}}});var ph=["display","text","script","scriptscript"],mh=function(t){var r=null;return t.length>0&&(r=t,r=r==="."?null:r),r};le({type:"genfrac",names:["\\genfrac"],props:{numArgs:6,allowedInArgument:!0,argTypes:["math","math","size","text","math","math"]},handler(e,t){var{parser:r}=e,n=t[4],i=t[5],a=ko(t[0]),s=a.type==="atom"&&a.family==="open"?mh(a.text):null,o=ko(t[1]),l=o.type==="atom"&&o.family==="close"?mh(o.text):null,u=ke(t[2],"size"),c,d=null;u.isBlank?c=!0:(d=u.value,c=d.number>0);var p="auto",g=t[3];if(g.type==="ordgroup"){if(g.body.length>0){var v=ke(g.body[0],"textord");p=ph[Number(v.text)]}}else g=ke(g,"textord"),p=ph[Number(g.text)];return{type:"genfrac",mode:r.mode,numer:n,denom:i,continued:!1,hasBarLine:c,barSize:d,leftDelim:s,rightDelim:l,size:p}},htmlBuilder:Ic,mathmlBuilder:Dc});le({type:"infix",names:["\\above"],props:{numArgs:1,argTypes:["size"],infix:!0},handler(e,t){var{parser:r,funcName:n,token:i}=e;return{type:"infix",mode:r.mode,replaceWith:"\\\\abovefrac",size:ke(t[0],"size").value,token:i}}});le({type:"genfrac",names:["\\\\abovefrac"],props:{numArgs:3,argTypes:["math","size","math"]},handler:(e,t)=>{var{parser:r,funcName:n}=e,i=t[0],a=Eb(ke(t[1],"infix").size),s=t[2],o=a.number>0;return{type:"genfrac",mode:r.mode,numer:i,denom:s,continued:!1,hasBarLine:o,barSize:a,leftDelim:null,rightDelim:null,size:"auto"}},htmlBuilder:Ic,mathmlBuilder:Dc});var W4=(e,t)=>{var r=t.style,n,i;e.type==="supsub"?(n=e.sup?Be(e.sup,t.havingStyle(r.sup()),t):Be(e.sub,t.havingStyle(r.sub()),t),i=ke(e.base,"horizBrace")):i=ke(e,"horizBrace");var a=Be(i.base,t.havingBaseStyle(ye.DISPLAY)),s=zr.svgSpan(i,t),o;if(i.isOver?(o=M.makeVList({positionType:"firstBaseline",children:[{type:"elem",elem:a},{type:"kern",size:.1},{type:"elem",elem:s}]},t),o.children[0].children[0].children[1].classes.push("svg-align")):(o=M.makeVList({positionType:"bottom",positionData:a.depth+.1+s.height,children:[{type:"elem",elem:s},{type:"kern",size:.1},{type:"elem",elem:a}]},t),o.children[0].children[0].children[0].classes.push("svg-align")),n){var l=M.makeSpan(["mord",i.isOver?"mover":"munder"],[o],t);i.isOver?o=M.makeVList({positionType:"firstBaseline",children:[{type:"elem",elem:l},{type:"kern",size:.2},{type:"elem",elem:n}]},t):o=M.makeVList({positionType:"bottom",positionData:l.depth+.2+n.height+n.depth,children:[{type:"elem",elem:n},{type:"kern",size:.2},{type:"elem",elem:l}]},t)}return M.makeSpan(["mord",i.isOver?"mover":"munder"],[o],t)},W9=(e,t)=>{var r=zr.mathMLnode(e.label);return new X.MathNode(e.isOver?"mover":"munder",[Fe(e.base,t),r])};le({type:"horizBrace",names:["\\overbrace","\\underbrace"],props:{numArgs:1},handler(e,t){var{parser:r,funcName:n}=e;return{type:"horizBrace",mode:r.mode,label:n,isOver:/^\\over/.test(n),base:t[0]}},htmlBuilder:W4,mathmlBuilder:W9});le({type:"href",names:["\\href"],props:{numArgs:2,argTypes:["url","original"],allowedInText:!0},handler:(e,t)=>{var{parser:r}=e,n=t[1],i=ke(t[0],"url").url;return r.settings.isTrusted({command:"\\href",url:i})?{type:"href",mode:r.mode,href:i,body:nt(n)}:r.formatUnsupportedCmd("\\href")},htmlBuilder:(e,t)=>{var r=ot(e.body,t,!1);return M.makeAnchor(e.href,[],r,t)},mathmlBuilder:(e,t)=>{var r=Sn(e.body,t);return r instanceof Ut||(r=new Ut("mrow",[r])),r.setAttribute("href",e.href),r}});le({type:"href",names:["\\url"],props:{numArgs:1,argTypes:["url"],allowedInText:!0},handler:(e,t)=>{var{parser:r}=e,n=ke(t[0],"url").url;if(!r.settings.isTrusted({command:"\\url",url:n}))return r.formatUnsupportedCmd("\\url");for(var i=[],a=0;a{var{parser:r,funcName:n,token:i}=e,a=ke(t[0],"raw").string,s=t[1];r.settings.strict&&r.settings.reportNonstrict("htmlExtension","HTML extension is disabled on strict mode");var o,l={};switch(n){case"\\htmlClass":l.class=a,o={command:"\\htmlClass",class:a};break;case"\\htmlId":l.id=a,o={command:"\\htmlId",id:a};break;case"\\htmlStyle":l.style=a,o={command:"\\htmlStyle",style:a};break;case"\\htmlData":{for(var u=a.split(","),c=0;c{var r=ot(e.body,t,!1),n=["enclosing"];e.attributes.class&&n.push(...e.attributes.class.trim().split(/\s+/));var i=M.makeSpan(n,r,t);for(var a in e.attributes)a!=="class"&&e.attributes.hasOwnProperty(a)&&i.setAttribute(a,e.attributes[a]);return i},mathmlBuilder:(e,t)=>Sn(e.body,t)});le({type:"htmlmathml",names:["\\html@mathml"],props:{numArgs:2,allowedInText:!0},handler:(e,t)=>{var{parser:r}=e;return{type:"htmlmathml",mode:r.mode,html:nt(t[0]),mathml:nt(t[1])}},htmlBuilder:(e,t)=>{var r=ot(e.html,t,!1);return M.makeFragment(r)},mathmlBuilder:(e,t)=>Sn(e.mathml,t)});var tl=function(t){if(/^[-+]? *(\d+(\.\d*)?|\.\d+)$/.test(t))return{number:+t,unit:"bp"};var r=/([-+]?) *(\d+(?:\.\d*)?|\.\d+) *([a-z]{2})/.exec(t);if(!r)throw new Z("Invalid size: '"+t+"' in \\includegraphics");var n={number:+(r[1]+r[2]),unit:r[3]};if(!d4(n))throw new Z("Invalid unit: '"+n.unit+"' in \\includegraphics.");return n};le({type:"includegraphics",names:["\\includegraphics"],props:{numArgs:1,numOptionalArgs:1,argTypes:["raw","url"],allowedInText:!1},handler:(e,t,r)=>{var{parser:n}=e,i={number:0,unit:"em"},a={number:.9,unit:"em"},s={number:0,unit:"em"},o="";if(r[0])for(var l=ke(r[0],"raw").string,u=l.split(","),c=0;c{var r=Ke(e.height,t),n=0;e.totalheight.number>0&&(n=Ke(e.totalheight,t)-r);var i=0;e.width.number>0&&(i=Ke(e.width,t));var a={height:ee(r+n)};i>0&&(a.width=ee(i)),n>0&&(a.verticalAlign=ee(-n));var s=new Wb(e.src,e.alt,a);return s.height=r,s.depth=n,s},mathmlBuilder:(e,t)=>{var r=new X.MathNode("mglyph",[]);r.setAttribute("alt",e.alt);var n=Ke(e.height,t),i=0;if(e.totalheight.number>0&&(i=Ke(e.totalheight,t)-n,r.setAttribute("valign",ee(-i))),r.setAttribute("height",ee(n+i)),e.width.number>0){var a=Ke(e.width,t);r.setAttribute("width",ee(a))}return r.setAttribute("src",e.src),r}});le({type:"kern",names:["\\kern","\\mkern","\\hskip","\\mskip"],props:{numArgs:1,argTypes:["size"],primitive:!0,allowedInText:!0},handler(e,t){var{parser:r,funcName:n}=e,i=ke(t[0],"size");if(r.settings.strict){var a=n[1]==="m",s=i.value.unit==="mu";a?(s||r.settings.reportNonstrict("mathVsTextUnits","LaTeX's "+n+" supports only mu units, "+("not "+i.value.unit+" units")),r.mode!=="math"&&r.settings.reportNonstrict("mathVsTextUnits","LaTeX's "+n+" works only in math mode")):s&&r.settings.reportNonstrict("mathVsTextUnits","LaTeX's "+n+" doesn't support mu units")}return{type:"kern",mode:r.mode,dimension:i.value}},htmlBuilder(e,t){return M.makeGlue(e.dimension,t)},mathmlBuilder(e,t){var r=Ke(e.dimension,t);return new X.SpaceNode(r)}});le({type:"lap",names:["\\mathllap","\\mathrlap","\\mathclap"],props:{numArgs:1,allowedInText:!0},handler:(e,t)=>{var{parser:r,funcName:n}=e,i=t[0];return{type:"lap",mode:r.mode,alignment:n.slice(5),body:i}},htmlBuilder:(e,t)=>{var r;e.alignment==="clap"?(r=M.makeSpan([],[Be(e.body,t)]),r=M.makeSpan(["inner"],[r],t)):r=M.makeSpan(["inner"],[Be(e.body,t)]);var n=M.makeSpan(["fix"],[]),i=M.makeSpan([e.alignment],[r,n],t),a=M.makeSpan(["strut"]);return a.style.height=ee(i.height+i.depth),i.depth&&(a.style.verticalAlign=ee(-i.depth)),i.children.unshift(a),i=M.makeSpan(["thinbox"],[i],t),M.makeSpan(["mord","vbox"],[i],t)},mathmlBuilder:(e,t)=>{var r=new X.MathNode("mpadded",[Fe(e.body,t)]);if(e.alignment!=="rlap"){var n=e.alignment==="llap"?"-1":"-0.5";r.setAttribute("lspace",n+"width")}return r.setAttribute("width","0px"),r}});le({type:"styling",names:["\\(","$"],props:{numArgs:0,allowedInText:!0,allowedInMath:!1},handler(e,t){var{funcName:r,parser:n}=e,i=n.mode;n.switchMode("math");var a=r==="\\("?"\\)":"$",s=n.parseExpression(!1,a);return n.expect(a),n.switchMode(i),{type:"styling",mode:n.mode,style:"text",body:s}}});le({type:"text",names:["\\)","\\]"],props:{numArgs:0,allowedInText:!0,allowedInMath:!1},handler(e,t){throw new Z("Mismatched "+e.funcName)}});var gh=(e,t)=>{switch(t.style.size){case ye.DISPLAY.size:return e.display;case ye.TEXT.size:return e.text;case ye.SCRIPT.size:return e.script;case ye.SCRIPTSCRIPT.size:return e.scriptscript;default:return e.text}};le({type:"mathchoice",names:["\\mathchoice"],props:{numArgs:4,primitive:!0},handler:(e,t)=>{var{parser:r}=e;return{type:"mathchoice",mode:r.mode,display:nt(t[0]),text:nt(t[1]),script:nt(t[2]),scriptscript:nt(t[3])}},htmlBuilder:(e,t)=>{var r=gh(e,t),n=ot(r,t,!1);return M.makeFragment(n)},mathmlBuilder:(e,t)=>{var r=gh(e,t);return Sn(r,t)}});var V4=(e,t,r,n,i,a,s)=>{e=M.makeSpan([],[e]);var o=r&&_e.isCharacterBox(r),l,u;if(t){var c=Be(t,n.havingStyle(i.sup()),n);u={elem:c,kern:Math.max(n.fontMetrics().bigOpSpacing1,n.fontMetrics().bigOpSpacing3-c.depth)}}if(r){var d=Be(r,n.havingStyle(i.sub()),n);l={elem:d,kern:Math.max(n.fontMetrics().bigOpSpacing2,n.fontMetrics().bigOpSpacing4-d.height)}}var p;if(u&&l){var g=n.fontMetrics().bigOpSpacing5+l.elem.height+l.elem.depth+l.kern+e.depth+s;p=M.makeVList({positionType:"bottom",positionData:g,children:[{type:"kern",size:n.fontMetrics().bigOpSpacing5},{type:"elem",elem:l.elem,marginLeft:ee(-a)},{type:"kern",size:l.kern},{type:"elem",elem:e},{type:"kern",size:u.kern},{type:"elem",elem:u.elem,marginLeft:ee(a)},{type:"kern",size:n.fontMetrics().bigOpSpacing5}]},n)}else if(l){var v=e.height-s;p=M.makeVList({positionType:"top",positionData:v,children:[{type:"kern",size:n.fontMetrics().bigOpSpacing5},{type:"elem",elem:l.elem,marginLeft:ee(-a)},{type:"kern",size:l.kern},{type:"elem",elem:e}]},n)}else if(u){var E=e.depth+s;p=M.makeVList({positionType:"bottom",positionData:E,children:[{type:"elem",elem:e},{type:"kern",size:u.kern},{type:"elem",elem:u.elem,marginLeft:ee(a)},{type:"kern",size:n.fontMetrics().bigOpSpacing5}]},n)}else return e;var R=[p];if(l&&a!==0&&!o){var _=M.makeSpan(["mspace"],[],n);_.style.marginRight=ee(a),R.unshift(_)}return M.makeSpan(["mop","op-limits"],R,n)},K4=["\\smallint"],na=(e,t)=>{var r,n,i=!1,a;e.type==="supsub"?(r=e.sup,n=e.sub,a=ke(e.base,"op"),i=!0):a=ke(e,"op");var s=t.style,o=!1;s.size===ye.DISPLAY.size&&a.symbol&&!_e.contains(K4,a.name)&&(o=!0);var l;if(a.symbol){var u=o?"Size2-Regular":"Size1-Regular",c="";if((a.name==="\\oiint"||a.name==="\\oiiint")&&(c=a.name.slice(1),a.name=c==="oiint"?"\\iint":"\\iiint"),l=M.makeSymbol(a.name,u,"math",t,["mop","op-symbol",o?"large-op":"small-op"]),c.length>0){var d=l.italic,p=M.staticSvg(c+"Size"+(o?"2":"1"),t);l=M.makeVList({positionType:"individualShift",children:[{type:"elem",elem:l,shift:0},{type:"elem",elem:p,shift:o?.08:0}]},t),a.name="\\"+c,l.classes.unshift("mop"),l.italic=d}}else if(a.body){var g=ot(a.body,t,!0);g.length===1&&g[0]instanceof Vt?(l=g[0],l.classes[0]="mop"):l=M.makeSpan(["mop"],g,t)}else{for(var v=[],E=1;E{var r;if(e.symbol)r=new Ut("mo",[Kt(e.name,e.mode)]),_e.contains(K4,e.name)&&r.setAttribute("largeop","false");else if(e.body)r=new Ut("mo",It(e.body,t));else{r=new Ut("mi",[new Ma(e.name.slice(1))]);var n=new Ut("mo",[Kt("⁡","text")]);e.parentIsSupSub?r=new Ut("mrow",[r,n]):r=E4([r,n])}return r},V9={"∏":"\\prod","∐":"\\coprod","∑":"\\sum","⋀":"\\bigwedge","⋁":"\\bigvee","⋂":"\\bigcap","⋃":"\\bigcup","⨀":"\\bigodot","⨁":"\\bigoplus","⨂":"\\bigotimes","⨄":"\\biguplus","⨆":"\\bigsqcup"};le({type:"op",names:["\\coprod","\\bigvee","\\bigwedge","\\biguplus","\\bigcap","\\bigcup","\\intop","\\prod","\\sum","\\bigotimes","\\bigoplus","\\bigodot","\\bigsqcup","\\smallint","∏","∐","∑","⋀","⋁","⋂","⋃","⨀","⨁","⨂","⨄","⨆"],props:{numArgs:0},handler:(e,t)=>{var{parser:r,funcName:n}=e,i=n;return i.length===1&&(i=V9[i]),{type:"op",mode:r.mode,limits:!0,parentIsSupSub:!1,symbol:!0,name:i}},htmlBuilder:na,mathmlBuilder:ms});le({type:"op",names:["\\mathop"],props:{numArgs:1,primitive:!0},handler:(e,t)=>{var{parser:r}=e,n=t[0];return{type:"op",mode:r.mode,limits:!1,parentIsSupSub:!1,symbol:!1,body:nt(n)}},htmlBuilder:na,mathmlBuilder:ms});var K9={"∫":"\\int","∬":"\\iint","∭":"\\iiint","∮":"\\oint","∯":"\\oiint","∰":"\\oiiint"};le({type:"op",names:["\\arcsin","\\arccos","\\arctan","\\arctg","\\arcctg","\\arg","\\ch","\\cos","\\cosec","\\cosh","\\cot","\\cotg","\\coth","\\csc","\\ctg","\\cth","\\deg","\\dim","\\exp","\\hom","\\ker","\\lg","\\ln","\\log","\\sec","\\sin","\\sinh","\\sh","\\tan","\\tanh","\\tg","\\th"],props:{numArgs:0},handler(e){var{parser:t,funcName:r}=e;return{type:"op",mode:t.mode,limits:!1,parentIsSupSub:!1,symbol:!1,name:r}},htmlBuilder:na,mathmlBuilder:ms});le({type:"op",names:["\\det","\\gcd","\\inf","\\lim","\\max","\\min","\\Pr","\\sup"],props:{numArgs:0},handler(e){var{parser:t,funcName:r}=e;return{type:"op",mode:t.mode,limits:!0,parentIsSupSub:!1,symbol:!1,name:r}},htmlBuilder:na,mathmlBuilder:ms});le({type:"op",names:["\\int","\\iint","\\iiint","\\oint","\\oiint","\\oiiint","∫","∬","∭","∮","∯","∰"],props:{numArgs:0},handler(e){var{parser:t,funcName:r}=e,n=r;return n.length===1&&(n=K9[n]),{type:"op",mode:t.mode,limits:!1,parentIsSupSub:!1,symbol:!0,name:n}},htmlBuilder:na,mathmlBuilder:ms});var X4=(e,t)=>{var r,n,i=!1,a;e.type==="supsub"?(r=e.sup,n=e.sub,a=ke(e.base,"operatorname"),i=!0):a=ke(e,"operatorname");var s;if(a.body.length>0){for(var o=a.body.map(d=>{var p=d.text;return typeof p=="string"?{type:"textord",mode:d.mode,text:p}:d}),l=ot(o,t.withFont("mathrm"),!0),u=0;u{for(var r=It(e.body,t.withFont("mathrm")),n=!0,i=0;ic.toText()).join("");r=[new X.TextNode(o)]}var l=new X.MathNode("mi",r);l.setAttribute("mathvariant","normal");var u=new X.MathNode("mo",[Kt("⁡","text")]);return e.parentIsSupSub?new X.MathNode("mrow",[l,u]):X.newDocumentFragment([l,u])};le({type:"operatorname",names:["\\operatorname@","\\operatornamewithlimits"],props:{numArgs:1},handler:(e,t)=>{var{parser:r,funcName:n}=e,i=t[0];return{type:"operatorname",mode:r.mode,body:nt(i),alwaysHandleSupSub:n==="\\operatornamewithlimits",limits:!1,parentIsSupSub:!1}},htmlBuilder:X4,mathmlBuilder:X9});y("\\operatorname","\\@ifstar\\operatornamewithlimits\\operatorname@");ri({type:"ordgroup",htmlBuilder(e,t){return e.semisimple?M.makeFragment(ot(e.body,t,!1)):M.makeSpan(["mord"],ot(e.body,t,!0),t)},mathmlBuilder(e,t){return Sn(e.body,t,!0)}});le({type:"overline",names:["\\overline"],props:{numArgs:1},handler(e,t){var{parser:r}=e,n=t[0];return{type:"overline",mode:r.mode,body:n}},htmlBuilder(e,t){var r=Be(e.body,t.havingCrampedStyle()),n=M.makeLineSpan("overline-line",t),i=t.fontMetrics().defaultRuleThickness,a=M.makeVList({positionType:"firstBaseline",children:[{type:"elem",elem:r},{type:"kern",size:3*i},{type:"elem",elem:n},{type:"kern",size:i}]},t);return M.makeSpan(["mord","overline"],[a],t)},mathmlBuilder(e,t){var r=new X.MathNode("mo",[new X.TextNode("‾")]);r.setAttribute("stretchy","true");var n=new X.MathNode("mover",[Fe(e.body,t),r]);return n.setAttribute("accent","true"),n}});le({type:"phantom",names:["\\phantom"],props:{numArgs:1,allowedInText:!0},handler:(e,t)=>{var{parser:r}=e,n=t[0];return{type:"phantom",mode:r.mode,body:nt(n)}},htmlBuilder:(e,t)=>{var r=ot(e.body,t.withPhantom(),!1);return M.makeFragment(r)},mathmlBuilder:(e,t)=>{var r=It(e.body,t);return new X.MathNode("mphantom",r)}});le({type:"hphantom",names:["\\hphantom"],props:{numArgs:1,allowedInText:!0},handler:(e,t)=>{var{parser:r}=e,n=t[0];return{type:"hphantom",mode:r.mode,body:n}},htmlBuilder:(e,t)=>{var r=M.makeSpan([],[Be(e.body,t.withPhantom())]);if(r.height=0,r.depth=0,r.children)for(var n=0;n{var r=It(nt(e.body),t),n=new X.MathNode("mphantom",r),i=new X.MathNode("mpadded",[n]);return i.setAttribute("height","0px"),i.setAttribute("depth","0px"),i}});le({type:"vphantom",names:["\\vphantom"],props:{numArgs:1,allowedInText:!0},handler:(e,t)=>{var{parser:r}=e,n=t[0];return{type:"vphantom",mode:r.mode,body:n}},htmlBuilder:(e,t)=>{var r=M.makeSpan(["inner"],[Be(e.body,t.withPhantom())]),n=M.makeSpan(["fix"],[]);return M.makeSpan(["mord","rlap"],[r,n],t)},mathmlBuilder:(e,t)=>{var r=It(nt(e.body),t),n=new X.MathNode("mphantom",r),i=new X.MathNode("mpadded",[n]);return i.setAttribute("width","0px"),i}});le({type:"raisebox",names:["\\raisebox"],props:{numArgs:2,argTypes:["size","hbox"],allowedInText:!0},handler(e,t){var{parser:r}=e,n=ke(t[0],"size").value,i=t[1];return{type:"raisebox",mode:r.mode,dy:n,body:i}},htmlBuilder(e,t){var r=Be(e.body,t),n=Ke(e.dy,t);return M.makeVList({positionType:"shift",positionData:-n,children:[{type:"elem",elem:r}]},t)},mathmlBuilder(e,t){var r=new X.MathNode("mpadded",[Fe(e.body,t)]),n=e.dy.number+e.dy.unit;return r.setAttribute("voffset",n),r}});le({type:"internal",names:["\\relax"],props:{numArgs:0,allowedInText:!0},handler(e){var{parser:t}=e;return{type:"internal",mode:t.mode}}});le({type:"rule",names:["\\rule"],props:{numArgs:2,numOptionalArgs:1,argTypes:["size","size","size"]},handler(e,t,r){var{parser:n}=e,i=r[0],a=ke(t[0],"size"),s=ke(t[1],"size");return{type:"rule",mode:n.mode,shift:i&&ke(i,"size").value,width:a.value,height:s.value}},htmlBuilder(e,t){var r=M.makeSpan(["mord","rule"],[],t),n=Ke(e.width,t),i=Ke(e.height,t),a=e.shift?Ke(e.shift,t):0;return r.style.borderRightWidth=ee(n),r.style.borderTopWidth=ee(i),r.style.bottom=ee(a),r.width=n,r.height=i+a,r.depth=-a,r.maxFontSize=i*1.125*t.sizeMultiplier,r},mathmlBuilder(e,t){var r=Ke(e.width,t),n=Ke(e.height,t),i=e.shift?Ke(e.shift,t):0,a=t.color&&t.getColor()||"black",s=new X.MathNode("mspace");s.setAttribute("mathbackground",a),s.setAttribute("width",ee(r)),s.setAttribute("height",ee(n));var o=new X.MathNode("mpadded",[s]);return i>=0?o.setAttribute("height",ee(i)):(o.setAttribute("height",ee(i)),o.setAttribute("depth",ee(-i))),o.setAttribute("voffset",ee(i)),o}});function J4(e,t,r){for(var n=ot(e,t,!1),i=t.sizeMultiplier/r.sizeMultiplier,a=0;a{var r=t.havingSize(e.size);return J4(e.body,r,t)};le({type:"sizing",names:yh,props:{numArgs:0,allowedInText:!0},handler:(e,t)=>{var{breakOnTokenText:r,funcName:n,parser:i}=e,a=i.parseExpression(!1,r);return{type:"sizing",mode:i.mode,size:yh.indexOf(n)+1,body:a}},htmlBuilder:J9,mathmlBuilder:(e,t)=>{var r=t.havingSize(e.size),n=It(e.body,r),i=new X.MathNode("mstyle",n);return i.setAttribute("mathsize",ee(r.sizeMultiplier)),i}});le({type:"smash",names:["\\smash"],props:{numArgs:1,numOptionalArgs:1,allowedInText:!0},handler:(e,t,r)=>{var{parser:n}=e,i=!1,a=!1,s=r[0]&&ke(r[0],"ordgroup");if(s)for(var o="",l=0;l{var r=M.makeSpan([],[Be(e.body,t)]);if(!e.smashHeight&&!e.smashDepth)return r;if(e.smashHeight&&(r.height=0,r.children))for(var n=0;n{var r=new X.MathNode("mpadded",[Fe(e.body,t)]);return e.smashHeight&&r.setAttribute("height","0px"),e.smashDepth&&r.setAttribute("depth","0px"),r}});le({type:"sqrt",names:["\\sqrt"],props:{numArgs:1,numOptionalArgs:1},handler(e,t,r){var{parser:n}=e,i=r[0],a=t[0];return{type:"sqrt",mode:n.mode,body:a,index:i}},htmlBuilder(e,t){var r=Be(e.body,t.havingCrampedStyle());r.height===0&&(r.height=t.fontMetrics().xHeight),r=M.wrapFragment(r,t);var n=t.fontMetrics(),i=n.defaultRuleThickness,a=i;t.style.idr.height+r.depth+s&&(s=(s+d-r.height-r.depth)/2);var p=l.height-r.height-s-u;r.style.paddingLeft=ee(c);var g=M.makeVList({positionType:"firstBaseline",children:[{type:"elem",elem:r,wrapperClasses:["svg-align"]},{type:"kern",size:-(r.height+p)},{type:"elem",elem:l},{type:"kern",size:u}]},t);if(e.index){var v=t.havingStyle(ye.SCRIPTSCRIPT),E=Be(e.index,v,t),R=.6*(g.height-g.depth),_=M.makeVList({positionType:"shift",positionData:-R,children:[{type:"elem",elem:E}]},t),b=M.makeSpan(["root"],[_]);return M.makeSpan(["mord","sqrt"],[b,g],t)}else return M.makeSpan(["mord","sqrt"],[g],t)},mathmlBuilder(e,t){var{body:r,index:n}=e;return n?new X.MathNode("mroot",[Fe(r,t),Fe(n,t)]):new X.MathNode("msqrt",[Fe(r,t)])}});var vh={display:ye.DISPLAY,text:ye.TEXT,script:ye.SCRIPT,scriptscript:ye.SCRIPTSCRIPT};le({type:"styling",names:["\\displaystyle","\\textstyle","\\scriptstyle","\\scriptscriptstyle"],props:{numArgs:0,allowedInText:!0,primitive:!0},handler(e,t){var{breakOnTokenText:r,funcName:n,parser:i}=e,a=i.parseExpression(!0,r),s=n.slice(1,n.length-5);return{type:"styling",mode:i.mode,style:s,body:a}},htmlBuilder(e,t){var r=vh[e.style],n=t.havingStyle(r).withFont("");return J4(e.body,n,t)},mathmlBuilder(e,t){var r=vh[e.style],n=t.havingStyle(r),i=It(e.body,n),a=new X.MathNode("mstyle",i),s={display:["0","true"],text:["0","false"],script:["1","false"],scriptscript:["2","false"]},o=s[e.style];return a.setAttribute("scriptlevel",o[0]),a.setAttribute("displaystyle",o[1]),a}});var Z9=function(t,r){var n=t.base;if(n)if(n.type==="op"){var i=n.limits&&(r.style.size===ye.DISPLAY.size||n.alwaysHandleSupSub);return i?na:null}else if(n.type==="operatorname"){var a=n.alwaysHandleSupSub&&(r.style.size===ye.DISPLAY.size||n.limits);return a?X4:null}else{if(n.type==="accent")return _e.isCharacterBox(n.base)?Ac:null;if(n.type==="horizBrace"){var s=!t.sub;return s===n.isOver?W4:null}else return null}else return null};ri({type:"supsub",htmlBuilder(e,t){var r=Z9(e,t);if(r)return r(e,t);var{base:n,sup:i,sub:a}=e,s=Be(n,t),o,l,u=t.fontMetrics(),c=0,d=0,p=n&&_e.isCharacterBox(n);if(i){var g=t.havingStyle(t.style.sup());o=Be(i,g,t),p||(c=s.height-g.fontMetrics().supDrop*g.sizeMultiplier/t.sizeMultiplier)}if(a){var v=t.havingStyle(t.style.sub());l=Be(a,v,t),p||(d=s.depth+v.fontMetrics().subDrop*v.sizeMultiplier/t.sizeMultiplier)}var E;t.style===ye.DISPLAY?E=u.sup1:t.style.cramped?E=u.sup3:E=u.sup2;var R=t.sizeMultiplier,_=ee(.5/u.ptPerEm/R),b=null;if(l){var T=e.base&&e.base.type==="op"&&e.base.name&&(e.base.name==="\\oiint"||e.base.name==="\\oiiint");(s instanceof Vt||T)&&(b=ee(-s.italic))}var O;if(o&&l){c=Math.max(c,E,o.depth+.25*u.xHeight),d=Math.max(d,u.sub2);var N=u.defaultRuleThickness,B=4*N;if(c-o.depth-(l.height-d)0&&(c+=F,d-=F)}var P=[{type:"elem",elem:l,shift:d,marginRight:_,marginLeft:b},{type:"elem",elem:o,shift:-c,marginRight:_}];O=M.makeVList({positionType:"individualShift",children:P},t)}else if(l){d=Math.max(d,u.sub1,l.height-.8*u.xHeight);var q=[{type:"elem",elem:l,marginLeft:b,marginRight:_}];O=M.makeVList({positionType:"shift",positionData:d,children:q},t)}else if(o)c=Math.max(c,E,o.depth+.25*u.xHeight),O=M.makeVList({positionType:"shift",positionData:-c,children:[{type:"elem",elem:o,marginRight:_}]},t);else throw new Error("supsub must have either sup or sub.");var re=iu(s,"right")||"mord";return M.makeSpan([re],[s,M.makeSpan(["msupsub"],[O])],t)},mathmlBuilder(e,t){var r=!1,n,i;e.base&&e.base.type==="horizBrace"&&(i=!!e.sup,i===e.base.isOver&&(r=!0,n=e.base.isOver)),e.base&&(e.base.type==="op"||e.base.type==="operatorname")&&(e.base.parentIsSupSub=!0);var a=[Fe(e.base,t)];e.sub&&a.push(Fe(e.sub,t)),e.sup&&a.push(Fe(e.sup,t));var s;if(r)s=n?"mover":"munder";else if(e.sub)if(e.sup){var u=e.base;u&&u.type==="op"&&u.limits&&t.style===ye.DISPLAY||u&&u.type==="operatorname"&&u.alwaysHandleSupSub&&(t.style===ye.DISPLAY||u.limits)?s="munderover":s="msubsup"}else{var l=e.base;l&&l.type==="op"&&l.limits&&(t.style===ye.DISPLAY||l.alwaysHandleSupSub)||l&&l.type==="operatorname"&&l.alwaysHandleSupSub&&(l.limits||t.style===ye.DISPLAY)?s="munder":s="msub"}else{var o=e.base;o&&o.type==="op"&&o.limits&&(t.style===ye.DISPLAY||o.alwaysHandleSupSub)||o&&o.type==="operatorname"&&o.alwaysHandleSupSub&&(o.limits||t.style===ye.DISPLAY)?s="mover":s="msup"}return new X.MathNode(s,a)}});ri({type:"atom",htmlBuilder(e,t){return M.mathsym(e.text,e.mode,t,["m"+e.family])},mathmlBuilder(e,t){var r=new X.MathNode("mo",[Kt(e.text,e.mode)]);if(e.family==="bin"){var n=Tc(e,t);n==="bold-italic"&&r.setAttribute("mathvariant",n)}else e.family==="punct"?r.setAttribute("separator","true"):(e.family==="open"||e.family==="close")&&r.setAttribute("stretchy","false");return r}});var Z4={mi:"italic",mn:"normal",mtext:"normal"};ri({type:"mathord",htmlBuilder(e,t){return M.makeOrd(e,t,"mathord")},mathmlBuilder(e,t){var r=new X.MathNode("mi",[Kt(e.text,e.mode,t)]),n=Tc(e,t)||"italic";return n!==Z4[r.type]&&r.setAttribute("mathvariant",n),r}});ri({type:"textord",htmlBuilder(e,t){return M.makeOrd(e,t,"textord")},mathmlBuilder(e,t){var r=Kt(e.text,e.mode,t),n=Tc(e,t)||"normal",i;return e.mode==="text"?i=new X.MathNode("mtext",[r]):/[0-9]/.test(e.text)?i=new X.MathNode("mn",[r]):e.text==="\\prime"?i=new X.MathNode("mo",[r]):i=new X.MathNode("mi",[r]),n!==Z4[i.type]&&i.setAttribute("mathvariant",n),i}});var rl={"\\nobreak":"nobreak","\\allowbreak":"allowbreak"},nl={" ":{},"\\ ":{},"~":{className:"nobreak"},"\\space":{},"\\nobreakspace":{className:"nobreak"}};ri({type:"spacing",htmlBuilder(e,t){if(nl.hasOwnProperty(e.text)){var r=nl[e.text].className||"";if(e.mode==="text"){var n=M.makeOrd(e,t,"textord");return n.classes.push(r),n}else return M.makeSpan(["mspace",r],[M.mathsym(e.text,e.mode,t)],t)}else{if(rl.hasOwnProperty(e.text))return M.makeSpan(["mspace",rl[e.text]],[],t);throw new Z('Unknown type of space "'+e.text+'"')}},mathmlBuilder(e,t){var r;if(nl.hasOwnProperty(e.text))r=new X.MathNode("mtext",[new X.TextNode(" ")]);else{if(rl.hasOwnProperty(e.text))return new X.MathNode("mspace");throw new Z('Unknown type of space "'+e.text+'"')}return r}});var bh=()=>{var e=new X.MathNode("mtd",[]);return e.setAttribute("width","50%"),e};ri({type:"tag",mathmlBuilder(e,t){var r=new X.MathNode("mtable",[new X.MathNode("mtr",[bh(),new X.MathNode("mtd",[Sn(e.body,t)]),bh(),new X.MathNode("mtd",[Sn(e.tag,t)])])]);return r.setAttribute("width","100%"),r}});var _h={"\\text":void 0,"\\textrm":"textrm","\\textsf":"textsf","\\texttt":"texttt","\\textnormal":"textrm"},wh={"\\textbf":"textbf","\\textmd":"textmd"},Q9={"\\textit":"textit","\\textup":"textup"},Sh=(e,t)=>{var r=e.font;return r?_h[r]?t.withTextFontFamily(_h[r]):wh[r]?t.withTextFontWeight(wh[r]):t.withTextFontShape(Q9[r]):t};le({type:"text",names:["\\text","\\textrm","\\textsf","\\texttt","\\textnormal","\\textbf","\\textmd","\\textit","\\textup"],props:{numArgs:1,argTypes:["text"],allowedInArgument:!0,allowedInText:!0},handler(e,t){var{parser:r,funcName:n}=e,i=t[0];return{type:"text",mode:r.mode,body:nt(i),font:n}},htmlBuilder(e,t){var r=Sh(e,t),n=ot(e.body,r,!0);return M.makeSpan(["mord","text"],n,r)},mathmlBuilder(e,t){var r=Sh(e,t);return Sn(e.body,r)}});le({type:"underline",names:["\\underline"],props:{numArgs:1,allowedInText:!0},handler(e,t){var{parser:r}=e;return{type:"underline",mode:r.mode,body:t[0]}},htmlBuilder(e,t){var r=Be(e.body,t),n=M.makeLineSpan("underline-line",t),i=t.fontMetrics().defaultRuleThickness,a=M.makeVList({positionType:"top",positionData:r.height,children:[{type:"kern",size:i},{type:"elem",elem:n},{type:"kern",size:3*i},{type:"elem",elem:r}]},t);return M.makeSpan(["mord","underline"],[a],t)},mathmlBuilder(e,t){var r=new X.MathNode("mo",[new X.TextNode("‾")]);r.setAttribute("stretchy","true");var n=new X.MathNode("munder",[Fe(e.body,t),r]);return n.setAttribute("accentunder","true"),n}});le({type:"vcenter",names:["\\vcenter"],props:{numArgs:1,argTypes:["original"],allowedInText:!1},handler(e,t){var{parser:r}=e;return{type:"vcenter",mode:r.mode,body:t[0]}},htmlBuilder(e,t){var r=Be(e.body,t),n=t.fontMetrics().axisHeight,i=.5*(r.height-n-(r.depth+n));return M.makeVList({positionType:"shift",positionData:i,children:[{type:"elem",elem:r}]},t)},mathmlBuilder(e,t){return new X.MathNode("mpadded",[Fe(e.body,t)],["vcenter"])}});le({type:"verb",names:["\\verb"],props:{numArgs:0,allowedInText:!0},handler(e,t,r){throw new Z("\\verb ended by end of line instead of matching delimiter")},htmlBuilder(e,t){for(var r=Eh(e),n=[],i=t.havingStyle(t.style.text()),a=0;ae.body.replace(/ /g,e.star?"␣":" "),on=w4,Q4=`[ \r ]`,e_="\\\\[a-zA-Z@]+",t_="\\\\[^\uD800-\uDFFF]",r_="("+e_+")"+Q4+"*",n_=`\\\\( |[ \r ]+ ?)[ \r ]*`,lu="[̀-ͯ]",i_=new RegExp(lu+"+$"),a_="("+Q4+"+)|"+(n_+"|")+"([!-\\[\\]-‧‪-퟿豈-￿]"+(lu+"*")+"|[\uD800-\uDBFF][\uDC00-\uDFFF]"+(lu+"*")+"|\\\\verb\\*([^]).*?\\4|\\\\verb([^*a-zA-Z]).*?\\5"+("|"+r_)+("|"+t_+")");class xh{constructor(t,r){this.input=void 0,this.settings=void 0,this.tokenRegex=void 0,this.catcodes=void 0,this.input=t,this.settings=r,this.tokenRegex=new RegExp(a_,"g"),this.catcodes={"%":14,"~":13}}setCatcode(t,r){this.catcodes[t]=r}lex(){var t=this.input,r=this.tokenRegex.lastIndex;if(r===t.length)return new qt("EOF",new Bt(this,r,r));var n=this.tokenRegex.exec(t);if(n===null||n.index!==r)throw new Z("Unexpected character: '"+t[r]+"'",new qt(t[r],new Bt(this,r,r+1)));var i=n[6]||n[3]||(n[2]?"\\ ":" ");if(this.catcodes[i]===14){var a=t.indexOf(` `,this.tokenRegex.lastIndex);return a===-1?(this.tokenRegex.lastIndex=t.length,this.settings.reportNonstrict("commentAtEnd","% comment has no terminating newline; LaTeX would fail because of commenting the end of math mode (e.g. $)")):this.tokenRegex.lastIndex=a+1,this.lex()}return new qt(i,new Bt(this,r,this.tokenRegex.lastIndex))}}class s_{constructor(t,r){t===void 0&&(t={}),r===void 0&&(r={}),this.current=void 0,this.builtins=void 0,this.undefStack=void 0,this.current=r,this.builtins=t,this.undefStack=[]}beginGroup(){this.undefStack.push({})}endGroup(){if(this.undefStack.length===0)throw new Z("Unbalanced namespace destruction: attempt to pop global namespace; please report this as a bug");var t=this.undefStack.pop();for(var r in t)t.hasOwnProperty(r)&&(t[r]==null?delete this.current[r]:this.current[r]=t[r])}endGroups(){for(;this.undefStack.length>0;)this.endGroup()}has(t){return this.current.hasOwnProperty(t)||this.builtins.hasOwnProperty(t)}get(t){return this.current.hasOwnProperty(t)?this.current[t]:this.builtins[t]}set(t,r,n){if(n===void 0&&(n=!1),n){for(var i=0;i0&&(this.undefStack[this.undefStack.length-1][t]=r)}else{var a=this.undefStack[this.undefStack.length-1];a&&!a.hasOwnProperty(t)&&(a[t]=this.current[t])}r==null?delete this.current[t]:this.current[t]=r}}var o_=U4;y("\\noexpand",function(e){var t=e.popToken();return e.isExpandable(t.text)&&(t.noexpand=!0,t.treatAsRelax=!0),{tokens:[t],numArgs:0}});y("\\expandafter",function(e){var t=e.popToken();return e.expandOnce(!0),{tokens:[t],numArgs:0}});y("\\@firstoftwo",function(e){var t=e.consumeArgs(2);return{tokens:t[0],numArgs:0}});y("\\@secondoftwo",function(e){var t=e.consumeArgs(2);return{tokens:t[1],numArgs:0}});y("\\@ifnextchar",function(e){var t=e.consumeArgs(3);e.consumeSpaces();var r=e.future();return t[0].length===1&&t[0][0].text===r.text?{tokens:t[1],numArgs:0}:{tokens:t[2],numArgs:0}});y("\\@ifstar","\\@ifnextchar *{\\@firstoftwo{#1}}");y("\\TextOrMath",function(e){var t=e.consumeArgs(2);return e.mode==="text"?{tokens:t[0],numArgs:0}:{tokens:t[1],numArgs:0}});var Th={0:0,1:1,2:2,3:3,4:4,5:5,6:6,7:7,8:8,9:9,a:10,A:10,b:11,B:11,c:12,C:12,d:13,D:13,e:14,E:14,f:15,F:15};y("\\char",function(e){var t=e.popToken(),r,n="";if(t.text==="'")r=8,t=e.popToken();else if(t.text==='"')r=16,t=e.popToken();else if(t.text==="`")if(t=e.popToken(),t.text[0]==="\\")n=t.text.charCodeAt(1);else{if(t.text==="EOF")throw new Z("\\char` missing argument");n=t.text.charCodeAt(0)}else r=10;if(r){if(n=Th[t.text],n==null||n>=r)throw new Z("Invalid base-"+r+" digit "+t.text);for(var i;(i=Th[e.future().text])!=null&&i{var n=e.consumeArg().tokens;if(n.length!==1)throw new Z("\\newcommand's first argument must be a macro name");var i=n[0].text,a=e.isDefined(i);if(a&&!t)throw new Z("\\newcommand{"+i+"} attempting to redefine "+(i+"; use \\renewcommand"));if(!a&&!r)throw new Z("\\renewcommand{"+i+"} when command "+i+" does not yet exist; use \\newcommand");var s=0;if(n=e.consumeArg().tokens,n.length===1&&n[0].text==="["){for(var o="",l=e.expandNextToken();l.text!=="]"&&l.text!=="EOF";)o+=l.text,l=e.expandNextToken();if(!o.match(/^\s*[0-9]+\s*$/))throw new Z("Invalid number of arguments: "+o);s=parseInt(o),n=e.consumeArg().tokens}return e.macros.set(i,{tokens:n,numArgs:s}),""};y("\\newcommand",e=>Bc(e,!1,!0));y("\\renewcommand",e=>Bc(e,!0,!1));y("\\providecommand",e=>Bc(e,!0,!0));y("\\message",e=>{var t=e.consumeArgs(1)[0];return console.log(t.reverse().map(r=>r.text).join("")),""});y("\\errmessage",e=>{var t=e.consumeArgs(1)[0];return console.error(t.reverse().map(r=>r.text).join("")),""});y("\\show",e=>{var t=e.popToken(),r=t.text;return console.log(t,e.macros.get(r),on[r],Ue.math[r],Ue.text[r]),""});y("\\bgroup","{");y("\\egroup","}");y("~","\\nobreakspace");y("\\lq","`");y("\\rq","'");y("\\aa","\\r a");y("\\AA","\\r A");y("\\textcopyright","\\html@mathml{\\textcircled{c}}{\\char`©}");y("\\copyright","\\TextOrMath{\\textcopyright}{\\text{\\textcopyright}}");y("\\textregistered","\\html@mathml{\\textcircled{\\scriptsize R}}{\\char`®}");y("ℬ","\\mathscr{B}");y("ℰ","\\mathscr{E}");y("ℱ","\\mathscr{F}");y("ℋ","\\mathscr{H}");y("ℐ","\\mathscr{I}");y("ℒ","\\mathscr{L}");y("ℳ","\\mathscr{M}");y("ℛ","\\mathscr{R}");y("ℭ","\\mathfrak{C}");y("ℌ","\\mathfrak{H}");y("ℨ","\\mathfrak{Z}");y("\\Bbbk","\\Bbb{k}");y("·","\\cdotp");y("\\llap","\\mathllap{\\textrm{#1}}");y("\\rlap","\\mathrlap{\\textrm{#1}}");y("\\clap","\\mathclap{\\textrm{#1}}");y("\\mathstrut","\\vphantom{(}");y("\\underbar","\\underline{\\text{#1}}");y("\\not",'\\html@mathml{\\mathrel{\\mathrlap\\@not}}{\\char"338}');y("\\neq","\\html@mathml{\\mathrel{\\not=}}{\\mathrel{\\char`≠}}");y("\\ne","\\neq");y("≠","\\neq");y("\\notin","\\html@mathml{\\mathrel{{\\in}\\mathllap{/\\mskip1mu}}}{\\mathrel{\\char`∉}}");y("∉","\\notin");y("≘","\\html@mathml{\\mathrel{=\\kern{-1em}\\raisebox{0.4em}{$\\scriptsize\\frown$}}}{\\mathrel{\\char`≘}}");y("≙","\\html@mathml{\\stackrel{\\tiny\\wedge}{=}}{\\mathrel{\\char`≘}}");y("≚","\\html@mathml{\\stackrel{\\tiny\\vee}{=}}{\\mathrel{\\char`≚}}");y("≛","\\html@mathml{\\stackrel{\\scriptsize\\star}{=}}{\\mathrel{\\char`≛}}");y("≝","\\html@mathml{\\stackrel{\\tiny\\mathrm{def}}{=}}{\\mathrel{\\char`≝}}");y("≞","\\html@mathml{\\stackrel{\\tiny\\mathrm{m}}{=}}{\\mathrel{\\char`≞}}");y("≟","\\html@mathml{\\stackrel{\\tiny?}{=}}{\\mathrel{\\char`≟}}");y("⟂","\\perp");y("‼","\\mathclose{!\\mkern-0.8mu!}");y("∌","\\notni");y("⌜","\\ulcorner");y("⌝","\\urcorner");y("⌞","\\llcorner");y("⌟","\\lrcorner");y("©","\\copyright");y("®","\\textregistered");y("️","\\textregistered");y("\\ulcorner",'\\html@mathml{\\@ulcorner}{\\mathop{\\char"231c}}');y("\\urcorner",'\\html@mathml{\\@urcorner}{\\mathop{\\char"231d}}');y("\\llcorner",'\\html@mathml{\\@llcorner}{\\mathop{\\char"231e}}');y("\\lrcorner",'\\html@mathml{\\@lrcorner}{\\mathop{\\char"231f}}');y("\\vdots","\\mathord{\\varvdots\\rule{0pt}{15pt}}");y("⋮","\\vdots");y("\\varGamma","\\mathit{\\Gamma}");y("\\varDelta","\\mathit{\\Delta}");y("\\varTheta","\\mathit{\\Theta}");y("\\varLambda","\\mathit{\\Lambda}");y("\\varXi","\\mathit{\\Xi}");y("\\varPi","\\mathit{\\Pi}");y("\\varSigma","\\mathit{\\Sigma}");y("\\varUpsilon","\\mathit{\\Upsilon}");y("\\varPhi","\\mathit{\\Phi}");y("\\varPsi","\\mathit{\\Psi}");y("\\varOmega","\\mathit{\\Omega}");y("\\substack","\\begin{subarray}{c}#1\\end{subarray}");y("\\colon","\\nobreak\\mskip2mu\\mathpunct{}\\mathchoice{\\mkern-3mu}{\\mkern-3mu}{}{}{:}\\mskip6mu\\relax");y("\\boxed","\\fbox{$\\displaystyle{#1}$}");y("\\iff","\\DOTSB\\;\\Longleftrightarrow\\;");y("\\implies","\\DOTSB\\;\\Longrightarrow\\;");y("\\impliedby","\\DOTSB\\;\\Longleftarrow\\;");var kh={",":"\\dotsc","\\not":"\\dotsb","+":"\\dotsb","=":"\\dotsb","<":"\\dotsb",">":"\\dotsb","-":"\\dotsb","*":"\\dotsb",":":"\\dotsb","\\DOTSB":"\\dotsb","\\coprod":"\\dotsb","\\bigvee":"\\dotsb","\\bigwedge":"\\dotsb","\\biguplus":"\\dotsb","\\bigcap":"\\dotsb","\\bigcup":"\\dotsb","\\prod":"\\dotsb","\\sum":"\\dotsb","\\bigotimes":"\\dotsb","\\bigoplus":"\\dotsb","\\bigodot":"\\dotsb","\\bigsqcup":"\\dotsb","\\And":"\\dotsb","\\longrightarrow":"\\dotsb","\\Longrightarrow":"\\dotsb","\\longleftarrow":"\\dotsb","\\Longleftarrow":"\\dotsb","\\longleftrightarrow":"\\dotsb","\\Longleftrightarrow":"\\dotsb","\\mapsto":"\\dotsb","\\longmapsto":"\\dotsb","\\hookrightarrow":"\\dotsb","\\doteq":"\\dotsb","\\mathbin":"\\dotsb","\\mathrel":"\\dotsb","\\relbar":"\\dotsb","\\Relbar":"\\dotsb","\\xrightarrow":"\\dotsb","\\xleftarrow":"\\dotsb","\\DOTSI":"\\dotsi","\\int":"\\dotsi","\\oint":"\\dotsi","\\iint":"\\dotsi","\\iiint":"\\dotsi","\\iiiint":"\\dotsi","\\idotsint":"\\dotsi","\\DOTSX":"\\dotsx"};y("\\dots",function(e){var t="\\dotso",r=e.expandAfterFuture().text;return r in kh?t=kh[r]:(r.slice(0,4)==="\\not"||r in Ue.math&&_e.contains(["bin","rel"],Ue.math[r].group))&&(t="\\dotsb"),t});var Pc={")":!0,"]":!0,"\\rbrack":!0,"\\}":!0,"\\rbrace":!0,"\\rangle":!0,"\\rceil":!0,"\\rfloor":!0,"\\rgroup":!0,"\\rmoustache":!0,"\\right":!0,"\\bigr":!0,"\\biggr":!0,"\\Bigr":!0,"\\Biggr":!0,$:!0,";":!0,".":!0,",":!0};y("\\dotso",function(e){var t=e.future().text;return t in Pc?"\\ldots\\,":"\\ldots"});y("\\dotsc",function(e){var t=e.future().text;return t in Pc&&t!==","?"\\ldots\\,":"\\ldots"});y("\\cdots",function(e){var t=e.future().text;return t in Pc?"\\@cdots\\,":"\\@cdots"});y("\\dotsb","\\cdots");y("\\dotsm","\\cdots");y("\\dotsi","\\!\\cdots");y("\\dotsx","\\ldots\\,");y("\\DOTSI","\\relax");y("\\DOTSB","\\relax");y("\\DOTSX","\\relax");y("\\tmspace","\\TextOrMath{\\kern#1#3}{\\mskip#1#2}\\relax");y("\\,","\\tmspace+{3mu}{.1667em}");y("\\thinspace","\\,");y("\\>","\\mskip{4mu}");y("\\:","\\tmspace+{4mu}{.2222em}");y("\\medspace","\\:");y("\\;","\\tmspace+{5mu}{.2777em}");y("\\thickspace","\\;");y("\\!","\\tmspace-{3mu}{.1667em}");y("\\negthinspace","\\!");y("\\negmedspace","\\tmspace-{4mu}{.2222em}");y("\\negthickspace","\\tmspace-{5mu}{.277em}");y("\\enspace","\\kern.5em ");y("\\enskip","\\hskip.5em\\relax");y("\\quad","\\hskip1em\\relax");y("\\qquad","\\hskip2em\\relax");y("\\tag","\\@ifstar\\tag@literal\\tag@paren");y("\\tag@paren","\\tag@literal{({#1})}");y("\\tag@literal",e=>{if(e.macros.get("\\df@tag"))throw new Z("Multiple \\tag");return"\\gdef\\df@tag{\\text{#1}}"});y("\\bmod","\\mathchoice{\\mskip1mu}{\\mskip1mu}{\\mskip5mu}{\\mskip5mu}\\mathbin{\\rm mod}\\mathchoice{\\mskip1mu}{\\mskip1mu}{\\mskip5mu}{\\mskip5mu}");y("\\pod","\\allowbreak\\mathchoice{\\mkern18mu}{\\mkern8mu}{\\mkern8mu}{\\mkern8mu}(#1)");y("\\pmod","\\pod{{\\rm mod}\\mkern6mu#1}");y("\\mod","\\allowbreak\\mathchoice{\\mkern18mu}{\\mkern12mu}{\\mkern12mu}{\\mkern12mu}{\\rm mod}\\,\\,#1");y("\\newline","\\\\\\relax");y("\\TeX","\\textrm{\\html@mathml{T\\kern-.1667em\\raisebox{-.5ex}{E}\\kern-.125emX}{TeX}}");var eg=ee(dr["Main-Regular"]["T".charCodeAt(0)][1]-.7*dr["Main-Regular"]["A".charCodeAt(0)][1]);y("\\LaTeX","\\textrm{\\html@mathml{"+("L\\kern-.36em\\raisebox{"+eg+"}{\\scriptstyle A}")+"\\kern-.15em\\TeX}{LaTeX}}");y("\\KaTeX","\\textrm{\\html@mathml{"+("K\\kern-.17em\\raisebox{"+eg+"}{\\scriptstyle A}")+"\\kern-.15em\\TeX}{KaTeX}}");y("\\hspace","\\@ifstar\\@hspacer\\@hspace");y("\\@hspace","\\hskip #1\\relax");y("\\@hspacer","\\rule{0pt}{0pt}\\hskip #1\\relax");y("\\ordinarycolon",":");y("\\vcentcolon","\\mathrel{\\mathop\\ordinarycolon}");y("\\dblcolon",'\\html@mathml{\\mathrel{\\vcentcolon\\mathrel{\\mkern-.9mu}\\vcentcolon}}{\\mathop{\\char"2237}}');y("\\coloneqq",'\\html@mathml{\\mathrel{\\vcentcolon\\mathrel{\\mkern-1.2mu}=}}{\\mathop{\\char"2254}}');y("\\Coloneqq",'\\html@mathml{\\mathrel{\\dblcolon\\mathrel{\\mkern-1.2mu}=}}{\\mathop{\\char"2237\\char"3d}}');y("\\coloneq",'\\html@mathml{\\mathrel{\\vcentcolon\\mathrel{\\mkern-1.2mu}\\mathrel{-}}}{\\mathop{\\char"3a\\char"2212}}');y("\\Coloneq",'\\html@mathml{\\mathrel{\\dblcolon\\mathrel{\\mkern-1.2mu}\\mathrel{-}}}{\\mathop{\\char"2237\\char"2212}}');y("\\eqqcolon",'\\html@mathml{\\mathrel{=\\mathrel{\\mkern-1.2mu}\\vcentcolon}}{\\mathop{\\char"2255}}');y("\\Eqqcolon",'\\html@mathml{\\mathrel{=\\mathrel{\\mkern-1.2mu}\\dblcolon}}{\\mathop{\\char"3d\\char"2237}}');y("\\eqcolon",'\\html@mathml{\\mathrel{\\mathrel{-}\\mathrel{\\mkern-1.2mu}\\vcentcolon}}{\\mathop{\\char"2239}}');y("\\Eqcolon",'\\html@mathml{\\mathrel{\\mathrel{-}\\mathrel{\\mkern-1.2mu}\\dblcolon}}{\\mathop{\\char"2212\\char"2237}}');y("\\colonapprox",'\\html@mathml{\\mathrel{\\vcentcolon\\mathrel{\\mkern-1.2mu}\\approx}}{\\mathop{\\char"3a\\char"2248}}');y("\\Colonapprox",'\\html@mathml{\\mathrel{\\dblcolon\\mathrel{\\mkern-1.2mu}\\approx}}{\\mathop{\\char"2237\\char"2248}}');y("\\colonsim",'\\html@mathml{\\mathrel{\\vcentcolon\\mathrel{\\mkern-1.2mu}\\sim}}{\\mathop{\\char"3a\\char"223c}}');y("\\Colonsim",'\\html@mathml{\\mathrel{\\dblcolon\\mathrel{\\mkern-1.2mu}\\sim}}{\\mathop{\\char"2237\\char"223c}}');y("∷","\\dblcolon");y("∹","\\eqcolon");y("≔","\\coloneqq");y("≕","\\eqqcolon");y("⩴","\\Coloneqq");y("\\ratio","\\vcentcolon");y("\\coloncolon","\\dblcolon");y("\\colonequals","\\coloneqq");y("\\coloncolonequals","\\Coloneqq");y("\\equalscolon","\\eqqcolon");y("\\equalscoloncolon","\\Eqqcolon");y("\\colonminus","\\coloneq");y("\\coloncolonminus","\\Coloneq");y("\\minuscolon","\\eqcolon");y("\\minuscoloncolon","\\Eqcolon");y("\\coloncolonapprox","\\Colonapprox");y("\\coloncolonsim","\\Colonsim");y("\\simcolon","\\mathrel{\\sim\\mathrel{\\mkern-1.2mu}\\vcentcolon}");y("\\simcoloncolon","\\mathrel{\\sim\\mathrel{\\mkern-1.2mu}\\dblcolon}");y("\\approxcolon","\\mathrel{\\approx\\mathrel{\\mkern-1.2mu}\\vcentcolon}");y("\\approxcoloncolon","\\mathrel{\\approx\\mathrel{\\mkern-1.2mu}\\dblcolon}");y("\\notni","\\html@mathml{\\not\\ni}{\\mathrel{\\char`∌}}");y("\\limsup","\\DOTSB\\operatorname*{lim\\,sup}");y("\\liminf","\\DOTSB\\operatorname*{lim\\,inf}");y("\\injlim","\\DOTSB\\operatorname*{inj\\,lim}");y("\\projlim","\\DOTSB\\operatorname*{proj\\,lim}");y("\\varlimsup","\\DOTSB\\operatorname*{\\overline{lim}}");y("\\varliminf","\\DOTSB\\operatorname*{\\underline{lim}}");y("\\varinjlim","\\DOTSB\\operatorname*{\\underrightarrow{lim}}");y("\\varprojlim","\\DOTSB\\operatorname*{\\underleftarrow{lim}}");y("\\gvertneqq","\\html@mathml{\\@gvertneqq}{≩}");y("\\lvertneqq","\\html@mathml{\\@lvertneqq}{≨}");y("\\ngeqq","\\html@mathml{\\@ngeqq}{≱}");y("\\ngeqslant","\\html@mathml{\\@ngeqslant}{≱}");y("\\nleqq","\\html@mathml{\\@nleqq}{≰}");y("\\nleqslant","\\html@mathml{\\@nleqslant}{≰}");y("\\nshortmid","\\html@mathml{\\@nshortmid}{∤}");y("\\nshortparallel","\\html@mathml{\\@nshortparallel}{∦}");y("\\nsubseteqq","\\html@mathml{\\@nsubseteqq}{⊈}");y("\\nsupseteqq","\\html@mathml{\\@nsupseteqq}{⊉}");y("\\varsubsetneq","\\html@mathml{\\@varsubsetneq}{⊊}");y("\\varsubsetneqq","\\html@mathml{\\@varsubsetneqq}{⫋}");y("\\varsupsetneq","\\html@mathml{\\@varsupsetneq}{⊋}");y("\\varsupsetneqq","\\html@mathml{\\@varsupsetneqq}{⫌}");y("\\imath","\\html@mathml{\\@imath}{ı}");y("\\jmath","\\html@mathml{\\@jmath}{ȷ}");y("\\llbracket","\\html@mathml{\\mathopen{[\\mkern-3.2mu[}}{\\mathopen{\\char`⟦}}");y("\\rrbracket","\\html@mathml{\\mathclose{]\\mkern-3.2mu]}}{\\mathclose{\\char`⟧}}");y("⟦","\\llbracket");y("⟧","\\rrbracket");y("\\lBrace","\\html@mathml{\\mathopen{\\{\\mkern-3.2mu[}}{\\mathopen{\\char`⦃}}");y("\\rBrace","\\html@mathml{\\mathclose{]\\mkern-3.2mu\\}}}{\\mathclose{\\char`⦄}}");y("⦃","\\lBrace");y("⦄","\\rBrace");y("\\minuso","\\mathbin{\\html@mathml{{\\mathrlap{\\mathchoice{\\kern{0.145em}}{\\kern{0.145em}}{\\kern{0.1015em}}{\\kern{0.0725em}}\\circ}{-}}}{\\char`⦵}}");y("⦵","\\minuso");y("\\darr","\\downarrow");y("\\dArr","\\Downarrow");y("\\Darr","\\Downarrow");y("\\lang","\\langle");y("\\rang","\\rangle");y("\\uarr","\\uparrow");y("\\uArr","\\Uparrow");y("\\Uarr","\\Uparrow");y("\\N","\\mathbb{N}");y("\\R","\\mathbb{R}");y("\\Z","\\mathbb{Z}");y("\\alef","\\aleph");y("\\alefsym","\\aleph");y("\\Alpha","\\mathrm{A}");y("\\Beta","\\mathrm{B}");y("\\bull","\\bullet");y("\\Chi","\\mathrm{X}");y("\\clubs","\\clubsuit");y("\\cnums","\\mathbb{C}");y("\\Complex","\\mathbb{C}");y("\\Dagger","\\ddagger");y("\\diamonds","\\diamondsuit");y("\\empty","\\emptyset");y("\\Epsilon","\\mathrm{E}");y("\\Eta","\\mathrm{H}");y("\\exist","\\exists");y("\\harr","\\leftrightarrow");y("\\hArr","\\Leftrightarrow");y("\\Harr","\\Leftrightarrow");y("\\hearts","\\heartsuit");y("\\image","\\Im");y("\\infin","\\infty");y("\\Iota","\\mathrm{I}");y("\\isin","\\in");y("\\Kappa","\\mathrm{K}");y("\\larr","\\leftarrow");y("\\lArr","\\Leftarrow");y("\\Larr","\\Leftarrow");y("\\lrarr","\\leftrightarrow");y("\\lrArr","\\Leftrightarrow");y("\\Lrarr","\\Leftrightarrow");y("\\Mu","\\mathrm{M}");y("\\natnums","\\mathbb{N}");y("\\Nu","\\mathrm{N}");y("\\Omicron","\\mathrm{O}");y("\\plusmn","\\pm");y("\\rarr","\\rightarrow");y("\\rArr","\\Rightarrow");y("\\Rarr","\\Rightarrow");y("\\real","\\Re");y("\\reals","\\mathbb{R}");y("\\Reals","\\mathbb{R}");y("\\Rho","\\mathrm{P}");y("\\sdot","\\cdot");y("\\sect","\\S");y("\\spades","\\spadesuit");y("\\sub","\\subset");y("\\sube","\\subseteq");y("\\supe","\\supseteq");y("\\Tau","\\mathrm{T}");y("\\thetasym","\\vartheta");y("\\weierp","\\wp");y("\\Zeta","\\mathrm{Z}");y("\\argmin","\\DOTSB\\operatorname*{arg\\,min}");y("\\argmax","\\DOTSB\\operatorname*{arg\\,max}");y("\\plim","\\DOTSB\\mathop{\\operatorname{plim}}\\limits");y("\\bra","\\mathinner{\\langle{#1}|}");y("\\ket","\\mathinner{|{#1}\\rangle}");y("\\braket","\\mathinner{\\langle{#1}\\rangle}");y("\\Bra","\\left\\langle#1\\right|");y("\\Ket","\\left|#1\\right\\rangle");var tg=e=>t=>{var r=t.consumeArg().tokens,n=t.consumeArg().tokens,i=t.consumeArg().tokens,a=t.consumeArg().tokens,s=t.macros.get("|"),o=t.macros.get("\\|");t.macros.beginGroup();var l=d=>p=>{e&&(p.macros.set("|",s),i.length&&p.macros.set("\\|",o));var g=d;if(!d&&i.length){var v=p.future();v.text==="|"&&(p.popToken(),g=!0)}return{tokens:g?i:n,numArgs:0}};t.macros.set("|",l(!1)),i.length&&t.macros.set("\\|",l(!0));var u=t.consumeArg().tokens,c=t.expandTokens([...a,...u,...r]);return t.macros.endGroup(),{tokens:c.reverse(),numArgs:0}};y("\\bra@ket",tg(!1));y("\\bra@set",tg(!0));y("\\Braket","\\bra@ket{\\left\\langle}{\\,\\middle\\vert\\,}{\\,\\middle\\vert\\,}{\\right\\rangle}");y("\\Set","\\bra@set{\\left\\{\\:}{\\;\\middle\\vert\\;}{\\;\\middle\\Vert\\;}{\\:\\right\\}}");y("\\set","\\bra@set{\\{\\,}{\\mid}{}{\\,\\}}");y("\\angln","{\\angl n}");y("\\blue","\\textcolor{##6495ed}{#1}");y("\\orange","\\textcolor{##ffa500}{#1}");y("\\pink","\\textcolor{##ff00af}{#1}");y("\\red","\\textcolor{##df0030}{#1}");y("\\green","\\textcolor{##28ae7b}{#1}");y("\\gray","\\textcolor{gray}{#1}");y("\\purple","\\textcolor{##9d38bd}{#1}");y("\\blueA","\\textcolor{##ccfaff}{#1}");y("\\blueB","\\textcolor{##80f6ff}{#1}");y("\\blueC","\\textcolor{##63d9ea}{#1}");y("\\blueD","\\textcolor{##11accd}{#1}");y("\\blueE","\\textcolor{##0c7f99}{#1}");y("\\tealA","\\textcolor{##94fff5}{#1}");y("\\tealB","\\textcolor{##26edd5}{#1}");y("\\tealC","\\textcolor{##01d1c1}{#1}");y("\\tealD","\\textcolor{##01a995}{#1}");y("\\tealE","\\textcolor{##208170}{#1}");y("\\greenA","\\textcolor{##b6ffb0}{#1}");y("\\greenB","\\textcolor{##8af281}{#1}");y("\\greenC","\\textcolor{##74cf70}{#1}");y("\\greenD","\\textcolor{##1fab54}{#1}");y("\\greenE","\\textcolor{##0d923f}{#1}");y("\\goldA","\\textcolor{##ffd0a9}{#1}");y("\\goldB","\\textcolor{##ffbb71}{#1}");y("\\goldC","\\textcolor{##ff9c39}{#1}");y("\\goldD","\\textcolor{##e07d10}{#1}");y("\\goldE","\\textcolor{##a75a05}{#1}");y("\\redA","\\textcolor{##fca9a9}{#1}");y("\\redB","\\textcolor{##ff8482}{#1}");y("\\redC","\\textcolor{##f9685d}{#1}");y("\\redD","\\textcolor{##e84d39}{#1}");y("\\redE","\\textcolor{##bc2612}{#1}");y("\\maroonA","\\textcolor{##ffbde0}{#1}");y("\\maroonB","\\textcolor{##ff92c6}{#1}");y("\\maroonC","\\textcolor{##ed5fa6}{#1}");y("\\maroonD","\\textcolor{##ca337c}{#1}");y("\\maroonE","\\textcolor{##9e034e}{#1}");y("\\purpleA","\\textcolor{##ddd7ff}{#1}");y("\\purpleB","\\textcolor{##c6b9fc}{#1}");y("\\purpleC","\\textcolor{##aa87ff}{#1}");y("\\purpleD","\\textcolor{##7854ab}{#1}");y("\\purpleE","\\textcolor{##543b78}{#1}");y("\\mintA","\\textcolor{##f5f9e8}{#1}");y("\\mintB","\\textcolor{##edf2df}{#1}");y("\\mintC","\\textcolor{##e0e5cc}{#1}");y("\\grayA","\\textcolor{##f6f7f7}{#1}");y("\\grayB","\\textcolor{##f0f1f2}{#1}");y("\\grayC","\\textcolor{##e3e5e6}{#1}");y("\\grayD","\\textcolor{##d6d8da}{#1}");y("\\grayE","\\textcolor{##babec2}{#1}");y("\\grayF","\\textcolor{##888d93}{#1}");y("\\grayG","\\textcolor{##626569}{#1}");y("\\grayH","\\textcolor{##3b3e40}{#1}");y("\\grayI","\\textcolor{##21242c}{#1}");y("\\kaBlue","\\textcolor{##314453}{#1}");y("\\kaGreen","\\textcolor{##71B307}{#1}");var rg={"^":!0,_:!0,"\\limits":!0,"\\nolimits":!0};class l_{constructor(t,r,n){this.settings=void 0,this.expansionCount=void 0,this.lexer=void 0,this.macros=void 0,this.stack=void 0,this.mode=void 0,this.settings=r,this.expansionCount=0,this.feed(t),this.macros=new s_(o_,r.macros),this.mode=n,this.stack=[]}feed(t){this.lexer=new xh(t,this.settings)}switchMode(t){this.mode=t}beginGroup(){this.macros.beginGroup()}endGroup(){this.macros.endGroup()}endGroups(){this.macros.endGroups()}future(){return this.stack.length===0&&this.pushToken(this.lexer.lex()),this.stack[this.stack.length-1]}popToken(){return this.future(),this.stack.pop()}pushToken(t){this.stack.push(t)}pushTokens(t){this.stack.push(...t)}scanArgument(t){var r,n,i;if(t){if(this.consumeSpaces(),this.future().text!=="[")return null;r=this.popToken(),{tokens:i,end:n}=this.consumeArg(["]"])}else({tokens:i,start:r,end:n}=this.consumeArg());return this.pushToken(new qt("EOF",n.loc)),this.pushTokens(i),r.range(n,"")}consumeSpaces(){for(;;){var t=this.future();if(t.text===" ")this.stack.pop();else break}}consumeArg(t){var r=[],n=t&&t.length>0;n||this.consumeSpaces();var i=this.future(),a,s=0,o=0;do{if(a=this.popToken(),r.push(a),a.text==="{")++s;else if(a.text==="}"){if(--s,s===-1)throw new Z("Extra }",a)}else if(a.text==="EOF")throw new Z("Unexpected end of input in a macro argument, expected '"+(t&&n?t[o]:"}")+"'",a);if(t&&n)if((s===0||s===1&&t[o]==="{")&&a.text===t[o]){if(++o,o===t.length){r.splice(-o,o);break}}else o=0}while(s!==0||n);return i.text==="{"&&r[r.length-1].text==="}"&&(r.pop(),r.shift()),r.reverse(),{tokens:r,start:i,end:a}}consumeArgs(t,r){if(r){if(r.length!==t+1)throw new Z("The length of delimiters doesn't match the number of args!");for(var n=r[0],i=0;ithis.settings.maxExpand)throw new Z("Too many expansions: infinite loop or need to increase maxExpand setting");var a=i.tokens,s=this.consumeArgs(i.numArgs,i.delimiters);if(i.numArgs){a=a.slice();for(var o=a.length-1;o>=0;--o){var l=a[o];if(l.text==="#"){if(o===0)throw new Z("Incomplete placeholder at end of macro body",l);if(l=a[--o],l.text==="#")a.splice(o+1,1);else if(/^[1-9]$/.test(l.text))a.splice(o,2,...s[+l.text-1]);else throw new Z("Not a valid argument number",l)}}}return this.pushTokens(a),a}expandAfterFuture(){return this.expandOnce(),this.future()}expandNextToken(){for(;;){var t=this.expandOnce();if(t instanceof qt)return t.treatAsRelax&&(t.text="\\relax"),this.stack.pop()}throw new Error}expandMacro(t){return this.macros.has(t)?this.expandTokens([new qt(t)]):void 0}expandTokens(t){var r=[],n=this.stack.length;for(this.pushTokens(t);this.stack.length>n;){var i=this.expandOnce(!0);i instanceof qt&&(i.treatAsRelax&&(i.noexpand=!1,i.treatAsRelax=!1),r.push(this.stack.pop()))}return r}expandMacroAsText(t){var r=this.expandMacro(t);return r&&r.map(n=>n.text).join("")}_getExpansion(t){var r=this.macros.get(t);if(r==null)return r;if(t.length===1){var n=this.lexer.catcodes[t];if(n!=null&&n!==13)return}var i=typeof r=="function"?r(this):r;if(typeof i=="string"){var a=0;if(i.indexOf("#")!==-1)for(var s=i.replace(/##/g,"");s.indexOf("#"+(a+1))!==-1;)++a;for(var o=new xh(i,this.settings),l=[],u=o.lex();u.text!=="EOF";)l.push(u),u=o.lex();l.reverse();var c={tokens:l,numArgs:a};return c}return i}isDefined(t){return this.macros.has(t)||on.hasOwnProperty(t)||Ue.math.hasOwnProperty(t)||Ue.text.hasOwnProperty(t)||rg.hasOwnProperty(t)}isExpandable(t){var r=this.macros.get(t);return r!=null?typeof r=="string"||typeof r=="function"||!r.unexpandable:on.hasOwnProperty(t)&&!on[t].primitive}}var Ah=/^[₊₋₌₍₎₀₁₂₃₄₅₆₇₈₉ₐₑₕᵢⱼₖₗₘₙₒₚᵣₛₜᵤᵥₓᵦᵧᵨᵩᵪ]/,Fs=Object.freeze({"₊":"+","₋":"-","₌":"=","₍":"(","₎":")","₀":"0","₁":"1","₂":"2","₃":"3","₄":"4","₅":"5","₆":"6","₇":"7","₈":"8","₉":"9","ₐ":"a","ₑ":"e","ₕ":"h","ᵢ":"i","ⱼ":"j","ₖ":"k","ₗ":"l","ₘ":"m","ₙ":"n","ₒ":"o","ₚ":"p","ᵣ":"r","ₛ":"s","ₜ":"t","ᵤ":"u","ᵥ":"v","ₓ":"x","ᵦ":"β","ᵧ":"γ","ᵨ":"ρ","ᵩ":"ϕ","ᵪ":"χ","⁺":"+","⁻":"-","⁼":"=","⁽":"(","⁾":")","⁰":"0","¹":"1","²":"2","³":"3","⁴":"4","⁵":"5","⁶":"6","⁷":"7","⁸":"8","⁹":"9","ᴬ":"A","ᴮ":"B","ᴰ":"D","ᴱ":"E","ᴳ":"G","ᴴ":"H","ᴵ":"I","ᴶ":"J","ᴷ":"K","ᴸ":"L","ᴹ":"M","ᴺ":"N","ᴼ":"O","ᴾ":"P","ᴿ":"R","ᵀ":"T","ᵁ":"U","ⱽ":"V","ᵂ":"W","ᵃ":"a","ᵇ":"b","ᶜ":"c","ᵈ":"d","ᵉ":"e","ᶠ":"f","ᵍ":"g",ʰ:"h","ⁱ":"i",ʲ:"j","ᵏ":"k",ˡ:"l","ᵐ":"m",ⁿ:"n","ᵒ":"o","ᵖ":"p",ʳ:"r",ˢ:"s","ᵗ":"t","ᵘ":"u","ᵛ":"v",ʷ:"w",ˣ:"x",ʸ:"y","ᶻ":"z","ᵝ":"β","ᵞ":"γ","ᵟ":"δ","ᵠ":"ϕ","ᵡ":"χ","ᶿ":"θ"}),il={"́":{text:"\\'",math:"\\acute"},"̀":{text:"\\`",math:"\\grave"},"̈":{text:'\\"',math:"\\ddot"},"̃":{text:"\\~",math:"\\tilde"},"̄":{text:"\\=",math:"\\bar"},"̆":{text:"\\u",math:"\\breve"},"̌":{text:"\\v",math:"\\check"},"̂":{text:"\\^",math:"\\hat"},"̇":{text:"\\.",math:"\\dot"},"̊":{text:"\\r",math:"\\mathring"},"̋":{text:"\\H"},"̧":{text:"\\c"}},Rh={á:"á",à:"à",ä:"ä",ǟ:"ǟ",ã:"ã",ā:"ā",ă:"ă",ắ:"ắ",ằ:"ằ",ẵ:"ẵ",ǎ:"ǎ",â:"â",ấ:"ấ",ầ:"ầ",ẫ:"ẫ",ȧ:"ȧ",ǡ:"ǡ",å:"å",ǻ:"ǻ",ḃ:"ḃ",ć:"ć",ḉ:"ḉ",č:"č",ĉ:"ĉ",ċ:"ċ",ç:"ç",ď:"ď",ḋ:"ḋ",ḑ:"ḑ",é:"é",è:"è",ë:"ë",ẽ:"ẽ",ē:"ē",ḗ:"ḗ",ḕ:"ḕ",ĕ:"ĕ",ḝ:"ḝ",ě:"ě",ê:"ê",ế:"ế",ề:"ề",ễ:"ễ",ė:"ė",ȩ:"ȩ",ḟ:"ḟ",ǵ:"ǵ",ḡ:"ḡ",ğ:"ğ",ǧ:"ǧ",ĝ:"ĝ",ġ:"ġ",ģ:"ģ",ḧ:"ḧ",ȟ:"ȟ",ĥ:"ĥ",ḣ:"ḣ",ḩ:"ḩ",í:"í",ì:"ì",ï:"ï",ḯ:"ḯ",ĩ:"ĩ",ī:"ī",ĭ:"ĭ",ǐ:"ǐ",î:"î",ǰ:"ǰ",ĵ:"ĵ",ḱ:"ḱ",ǩ:"ǩ",ķ:"ķ",ĺ:"ĺ",ľ:"ľ",ļ:"ļ",ḿ:"ḿ",ṁ:"ṁ",ń:"ń",ǹ:"ǹ",ñ:"ñ",ň:"ň",ṅ:"ṅ",ņ:"ņ",ó:"ó",ò:"ò",ö:"ö",ȫ:"ȫ",õ:"õ",ṍ:"ṍ",ṏ:"ṏ",ȭ:"ȭ",ō:"ō",ṓ:"ṓ",ṑ:"ṑ",ŏ:"ŏ",ǒ:"ǒ",ô:"ô",ố:"ố",ồ:"ồ",ỗ:"ỗ",ȯ:"ȯ",ȱ:"ȱ",ő:"ő",ṕ:"ṕ",ṗ:"ṗ",ŕ:"ŕ",ř:"ř",ṙ:"ṙ",ŗ:"ŗ",ś:"ś",ṥ:"ṥ",š:"š",ṧ:"ṧ",ŝ:"ŝ",ṡ:"ṡ",ş:"ş",ẗ:"ẗ",ť:"ť",ṫ:"ṫ",ţ:"ţ",ú:"ú",ù:"ù",ü:"ü",ǘ:"ǘ",ǜ:"ǜ",ǖ:"ǖ",ǚ:"ǚ",ũ:"ũ",ṹ:"ṹ",ū:"ū",ṻ:"ṻ",ŭ:"ŭ",ǔ:"ǔ",û:"û",ů:"ů",ű:"ű",ṽ:"ṽ",ẃ:"ẃ",ẁ:"ẁ",ẅ:"ẅ",ŵ:"ŵ",ẇ:"ẇ",ẘ:"ẘ",ẍ:"ẍ",ẋ:"ẋ",ý:"ý",ỳ:"ỳ",ÿ:"ÿ",ỹ:"ỹ",ȳ:"ȳ",ŷ:"ŷ",ẏ:"ẏ",ẙ:"ẙ",ź:"ź",ž:"ž",ẑ:"ẑ",ż:"ż",Á:"Á",À:"À",Ä:"Ä",Ǟ:"Ǟ",Ã:"Ã",Ā:"Ā",Ă:"Ă",Ắ:"Ắ",Ằ:"Ằ",Ẵ:"Ẵ",Ǎ:"Ǎ",Â:"Â",Ấ:"Ấ",Ầ:"Ầ",Ẫ:"Ẫ",Ȧ:"Ȧ",Ǡ:"Ǡ",Å:"Å",Ǻ:"Ǻ",Ḃ:"Ḃ",Ć:"Ć",Ḉ:"Ḉ",Č:"Č",Ĉ:"Ĉ",Ċ:"Ċ",Ç:"Ç",Ď:"Ď",Ḋ:"Ḋ",Ḑ:"Ḑ",É:"É",È:"È",Ë:"Ë",Ẽ:"Ẽ",Ē:"Ē",Ḗ:"Ḗ",Ḕ:"Ḕ",Ĕ:"Ĕ",Ḝ:"Ḝ",Ě:"Ě",Ê:"Ê",Ế:"Ế",Ề:"Ề",Ễ:"Ễ",Ė:"Ė",Ȩ:"Ȩ",Ḟ:"Ḟ",Ǵ:"Ǵ",Ḡ:"Ḡ",Ğ:"Ğ",Ǧ:"Ǧ",Ĝ:"Ĝ",Ġ:"Ġ",Ģ:"Ģ",Ḧ:"Ḧ",Ȟ:"Ȟ",Ĥ:"Ĥ",Ḣ:"Ḣ",Ḩ:"Ḩ",Í:"Í",Ì:"Ì",Ï:"Ï",Ḯ:"Ḯ",Ĩ:"Ĩ",Ī:"Ī",Ĭ:"Ĭ",Ǐ:"Ǐ",Î:"Î",İ:"İ",Ĵ:"Ĵ",Ḱ:"Ḱ",Ǩ:"Ǩ",Ķ:"Ķ",Ĺ:"Ĺ",Ľ:"Ľ",Ļ:"Ļ",Ḿ:"Ḿ",Ṁ:"Ṁ",Ń:"Ń",Ǹ:"Ǹ",Ñ:"Ñ",Ň:"Ň",Ṅ:"Ṅ",Ņ:"Ņ",Ó:"Ó",Ò:"Ò",Ö:"Ö",Ȫ:"Ȫ",Õ:"Õ",Ṍ:"Ṍ",Ṏ:"Ṏ",Ȭ:"Ȭ",Ō:"Ō",Ṓ:"Ṓ",Ṑ:"Ṑ",Ŏ:"Ŏ",Ǒ:"Ǒ",Ô:"Ô",Ố:"Ố",Ồ:"Ồ",Ỗ:"Ỗ",Ȯ:"Ȯ",Ȱ:"Ȱ",Ő:"Ő",Ṕ:"Ṕ",Ṗ:"Ṗ",Ŕ:"Ŕ",Ř:"Ř",Ṙ:"Ṙ",Ŗ:"Ŗ",Ś:"Ś",Ṥ:"Ṥ",Š:"Š",Ṧ:"Ṧ",Ŝ:"Ŝ",Ṡ:"Ṡ",Ş:"Ş",Ť:"Ť",Ṫ:"Ṫ",Ţ:"Ţ",Ú:"Ú",Ù:"Ù",Ü:"Ü",Ǘ:"Ǘ",Ǜ:"Ǜ",Ǖ:"Ǖ",Ǚ:"Ǚ",Ũ:"Ũ",Ṹ:"Ṹ",Ū:"Ū",Ṻ:"Ṻ",Ŭ:"Ŭ",Ǔ:"Ǔ",Û:"Û",Ů:"Ů",Ű:"Ű",Ṽ:"Ṽ",Ẃ:"Ẃ",Ẁ:"Ẁ",Ẅ:"Ẅ",Ŵ:"Ŵ",Ẇ:"Ẇ",Ẍ:"Ẍ",Ẋ:"Ẋ",Ý:"Ý",Ỳ:"Ỳ",Ÿ:"Ÿ",Ỹ:"Ỹ",Ȳ:"Ȳ",Ŷ:"Ŷ",Ẏ:"Ẏ",Ź:"Ź",Ž:"Ž",Ẑ:"Ẑ",Ż:"Ż",ά:"ά",ὰ:"ὰ",ᾱ:"ᾱ",ᾰ:"ᾰ",έ:"έ",ὲ:"ὲ",ή:"ή",ὴ:"ὴ",ί:"ί",ὶ:"ὶ",ϊ:"ϊ",ΐ:"ΐ",ῒ:"ῒ",ῑ:"ῑ",ῐ:"ῐ",ό:"ό",ὸ:"ὸ",ύ:"ύ",ὺ:"ὺ",ϋ:"ϋ",ΰ:"ΰ",ῢ:"ῢ",ῡ:"ῡ",ῠ:"ῠ",ώ:"ώ",ὼ:"ὼ",Ύ:"Ύ",Ὺ:"Ὺ",Ϋ:"Ϋ",Ῡ:"Ῡ",Ῠ:"Ῠ",Ώ:"Ώ",Ὼ:"Ὼ"};class Va{constructor(t,r){this.mode=void 0,this.gullet=void 0,this.settings=void 0,this.leftrightDepth=void 0,this.nextToken=void 0,this.mode="math",this.gullet=new l_(t,r,this.mode),this.settings=r,this.leftrightDepth=0}expect(t,r){if(r===void 0&&(r=!0),this.fetch().text!==t)throw new Z("Expected '"+t+"', got '"+this.fetch().text+"'",this.fetch());r&&this.consume()}consume(){this.nextToken=null}fetch(){return this.nextToken==null&&(this.nextToken=this.gullet.expandNextToken()),this.nextToken}switchMode(t){this.mode=t,this.gullet.switchMode(t)}parse(){this.settings.globalGroup||this.gullet.beginGroup(),this.settings.colorIsTextColor&&this.gullet.macros.set("\\color","\\textcolor");try{var t=this.parseExpression(!1);return this.expect("EOF"),this.settings.globalGroup||this.gullet.endGroup(),t}finally{this.gullet.endGroups()}}subparse(t){var r=this.nextToken;this.consume(),this.gullet.pushToken(new qt("}")),this.gullet.pushTokens(t);var n=this.parseExpression(!1);return this.expect("}"),this.nextToken=r,n}parseExpression(t,r){for(var n=[];;){this.mode==="math"&&this.consumeSpaces();var i=this.fetch();if(Va.endOfExpression.indexOf(i.text)!==-1||r&&i.text===r||t&&on[i.text]&&on[i.text].infix)break;var a=this.parseAtom(r);if(a){if(a.type==="internal")continue}else break;n.push(a)}return this.mode==="text"&&this.formLigatures(n),this.handleInfixNodes(n)}handleInfixNodes(t){for(var r=-1,n,i=0;i=0&&this.settings.reportNonstrict("unicodeTextInMathMode",'Latin-1/Unicode text character "'+r[0]+'" used in math mode',t);var o=Ue[this.mode][r].group,l=Bt.range(t),u;if(Xb.hasOwnProperty(o)){var c=o;u={type:"atom",mode:this.mode,family:c,loc:l,text:r}}else u={type:o,mode:this.mode,loc:l,text:r};s=u}else if(r.charCodeAt(0)>=128)this.settings.strict&&(f4(r.charCodeAt(0))?this.mode==="math"&&this.settings.reportNonstrict("unicodeTextInMathMode",'Unicode text character "'+r[0]+'" used in math mode',t):this.settings.reportNonstrict("unknownSymbol",'Unrecognized Unicode character "'+r[0]+'"'+(" ("+r.charCodeAt(0)+")"),t)),s={type:"textord",mode:"text",loc:Bt.range(t),text:r};else return null;if(this.consume(),a)for(var d=0;d{const t=e.IS_GENERATING?e.TWILL_API_BASE:e.public.TWILL_API_BASE,r="/api",n="v1",i=`${t}${r}/${n}`,a=e.public.TWILL_API_AUTH_TOKEN?e.public.TWILL_API_AUTH_TOKEN:null;return{url:t,token:a,prefix:r,version:n,cookie:{},baseURL:i}};function y_(e,t){const r=Qo(),{baseURL:n}=ag(r),{type:i,id:a}=e;return`${n}/${i}/${a}/${t}`}const uu="blog-details",v_="blog-indices",sg="blog-series",b_="blog-series-indices",__="content-types",w_="custom-links",S_="careers-listings",og="customer-stories",E_="customer-story-landings",x_="greenhouse-jobs",T_="homepages",k_="interactive-tabs",l0="landings",A_="models",R_="people",lg="products",O_="research-indices",Ka="research-publications",M_="topics";async function N_(e){const{$twill:t}=Oe(),r=y_(e,k_);let n;return n=await t.get(r).include(["interactive-tab-contents.media","interactive-tab-contents.related-items.related"]).fetch(),n.data?t.transform(n):null}async function C_({size:e=3}={}){const{$twill:t}=Oe();let r;const n={published:!0},i=t.find("blog-series").filter({published:!0}).sort("-createdAt").page({size:e}).include(["media"]);return i.filter(n),r=await i.fetch(),r.data?t.transform(r):null}async function I_({size:e=5}={}){const{$twill:t}=Oe();let r;const n={published:!0},i=t.find("greenhouse-jobs").filter({published:!0}).sort("-ghUpdatedAt").page({size:e});return i.filter(n),r=await i.fetch(),r.data?t.transform(r):null}async function D_({slug:e,preview:t=null}){const{$twill:r}=Oe();let n;const i=r.find("blog-series").filter({slug:e});return t&&i.query("preview",t),n=await i.fetch(),n.data?r.transform(n).pop():null}async function B_(e={}){var u;const{$twill:t}=Oe(),r=e.sort??"-createdAt",n=e.slug,i=e.pageSize??15,a=e.pageNumber??null;let s;const o={published:!0},l=t.find("blog-details").sort(r).page({size:i}).include(["media","topics"]);return n&&(o["blog-series"]={slug:n}),l.filter(o),a&&l.page({number:a}),s=await l.fetch(),s.data?{resources:t.transform(s),page:(u=s==null?void 0:s.meta)==null?void 0:u.page}:null}async function P_(e){const{$twill:t}=Oe();let r;const n={published:!0},i=t.find("people").filter({scope:["author"],published:!0}).sort("lastname").query("withCount",e).page({size:300});return e&&(n[`has-${e}`]=!0),i.filter(n),r=await i.fetch(),r.data?t.transform(r):null}async function L_(e){const{$twill:t}=Oe();let r;const n={published:!0},i=t.find("content-types").sort("title").query("withCount",e);return e&&(n[`has-${e}`]=!0),i.filter(n),r=await i.fetch(),r.data?t.transform(r):null}async function z_(e){const{$twill:t}=Oe();let r;const n={published:!0},i=t.find("models").sort("title").query("withCount",e);return e&&(n[`has-${e}`]=!0),i.filter(n),r=await i.fetch(),r.data?t.transform(r):null}async function $_(e){const{$twill:t}=Oe();let r;const n={published:!0},i=t.find("topics").sort("title").query("withCount",e);return e&&(n[`has-${e}`]=!0),i.filter(n),r=await i.fetch(),r.data?t.transform(r):null}async function F_(e){const{$twill:t}=Oe();let r;const n={published:!0},i=t.find("greenhouse-departments").sort("name").query("withCount",e).filter({published:!0}).include(e).page({size:200});return e&&(n[`has-${e}`]=!0),i.filter(n),r=await i.fetch(),r.data?t.transform(r):null}async function H_({topics:e=[],size:t=2,options:r={}}={}){const{$twill:n}=Oe();let i;const a={published:!0},s=n.find("customer-stories").sort("-publicationDate,-createdAt").page({size:t}).include(["media"]);return e&&e.length&&(a.topics={slug:e}),r.exclude&&(a.exclude=r.exclude),s.filter(a),i=await s.fetch(),i.data?n.transform(i):null}async function U_(e){const{$twill:t}=Oe();let r;const n={published:!0},i=t.find("products").sort("title");return e&&(n[e]={published:!0},i.query("withCount",e)),i.filter(n),r=await i.fetch(),r.data?t.transform(r):null}async function j_(e){const{$twill:t}=Oe(),r=e.sort??"-createdAt",n=e.topics??null,i=e.models??null,a=e.contentTypes??null,s=e.authors??null,o=e.pageSize??null,l=e.pageNumber??null,u=e.search??null,c=t.find("research-publications").include(["media","topics","models","content-types","research-publication-links"]).sort(r).filter({published:!0});return o&&c.page({size:o}),u&&c.query("search",u),n&&c.filter({topics:{slugs:Array.isArray(n)?n:[n]}}),i&&c.filter({models:{slugs:Array.isArray(i)?i:[i]}}),a&&c.filter({"content-types":{slugs:Array.isArray(a)?a:[a]}}),s&&c.filter({authors:Array.isArray(s)?s:[s]}),l&&c.page({number:l}),c.fetch().then(d=>{var p;return{page:(p=d==null?void 0:d.meta)==null?void 0:p.page,resources:t.transform(d)}})}async function q_(e){const{$twill:t}=Oe(),r=e.sort??"-createdAt",n=e.topics??null,i=e.authors??null,a=e.pageSize??null,s=e.pageNumber??null,o=e.search??null,l=t.find("blog-details").include(["media","topics","authors"]).sort(r).filter({published:!0});return a&&l.page({size:a}),o&&l.query("search",o),n&&l.filter({topics:{slugs:Array.isArray(n)?n:[n]}}),i&&l.filter({authors:Array.isArray(i)?i:[i]}),s&&l.page({number:s}),l.fetch().then(u=>{var c;return{page:(c=u==null?void 0:u.meta)==null?void 0:c.page,resources:t.transform(u)}})}async function G_(e){const{$twill:t}=Oe(),r=e.sort??"-createdAt",n=e.pageSize??null,i=e.pageNumber??null,a=e.search??null,s=t.find("blog-series").include(["media"]).sort(r).filter({published:!0});return n&&s.page({size:n}),a&&s.query("search",a),i&&s.page({number:i}),s.fetch().then(o=>{var l;return{page:(l=o==null?void 0:o.meta)==null?void 0:l.page,resources:t.transform(o)}})}async function Y_(e){const{$twill:t}=Oe(),r=e.sort??"-createdAt",n=e.topics??null,i=e.products??null,a=e.pageSize??null,s=e.pageNumber??null,o=e.search??null,l=t.find("customer-stories").include(["media","topics","products"]).sort(r).filter({published:!0});return a&&l.page({size:a}),o&&l.query("search",o),n&&l.filter({topics:{slugs:Array.isArray(n)?n:[n]}}),i&&l.filter({products:{slugs:Array.isArray(i)?i:[i]}}),s&&l.page({number:s}),l.fetch().then(u=>{var c;return{page:(c=u==null?void 0:u.meta)==null?void 0:c.page,resources:t.transform(u)}})}async function W_(e){const{$twill:t}=Oe(),r=e.sort??"-createdAt",n=e.pageSize??null,i=e.pageNumber??null,a=e.search??null,s=t.find("landings").sort(r).filter({published:!0});return n&&s.page({size:n}),a&&s.query("search",a),i&&s.page({number:i}),s.fetch().then(o=>{var l;return{page:(l=o==null?void 0:o.meta)==null?void 0:l.page,resources:t.transform(o)}})}const V_={blogSeriesBySlug:D_,landingBySlug:m_,productBySlug:g_,researchPublicationBySlug:p_,blogDetailsByBlogSeriesSlug:B_,indexResearchPublications:j_,indexBlogDetails:q_,indexBlogSeries:G_,indexCustomerStories:Y_,indexLandings:W_,interactiveTabs:N_,blogDetailsLatest:pb,customerStoriesLatest:H_,researchPublicationsByTopics:h_,blogSeriesLatest:C_,greenhouseJobsLatest:I_,authorsWhereHas:P_,contentTypesWhereHas:L_,modelsWhereHas:z_,topicsWhereHas:$_,departmentsWhereHas:F_,productsWhereHas:U_},K_="research",X_="product";function gt(e,t){if(typeof e>"u"||e===null)return null;let r;switch(e.type){case T_:r="/";break;case O_:r="/research";break;case b_:r="/blog/series";break;case v_:r="/blog";break;case E_:r="/customer-stories";break;case S_:r="/careers/search";break}if(r)return r;switch(e.type){case Ka:r=`/research/${e.slug}`;break;case l0:switch(e.scope){case K_:r=`/research/${e.nestedSlug}`;break;case X_:r=`/product/${e.nestedSlug}`;break;default:r=`/${e.nestedSlug}`}break;case __:r=`/research?contentTypes=${e.slug}`;break;case A_:r=`/research?models=${e.slug}`;break;case M_:(t==null?void 0:t.context)==="customer-stories"?r=`/customer-stories?topics=${e.slug}`:(t==null?void 0:t.context)==="blog-details"?r=`/blog?topics=${e.slug}`:r=`/research?topics=${e.slug}`;break;case R_:if((t==null?void 0:t.context)===Ka){r=`/research?authors=${e.slug}`;break}if((t==null?void 0:t.context)===uu){r=`/blog?authors=${e.slug}`;break}case uu:r=`/blog/${e.slug}`;break;case sg:r=`/blog/series/${e.slug}`;break;case x_:r=`/careers/${e.slug}`;break;case lg:r=`/product/${e.slug}`;break;case og:r=`/customer-stories/${e.slug}`;break}return r}var J_=typeof global=="object"&&global&&global.Object===Object&&global;const Z_=J_;var Q_=typeof self=="object"&&self&&self.Object===Object&&self,ew=Z_||Q_||Function("return this")();const tw=ew;var rw=tw.Symbol;const Ui=rw;var ug=Object.prototype,nw=ug.hasOwnProperty,iw=ug.toString,ha=Ui?Ui.toStringTag:void 0;function aw(e){var t=nw.call(e,ha),r=e[ha];try{e[ha]=void 0;var n=!0}catch{}var i=iw.call(e);return n&&(t?e[ha]=r:delete e[ha]),i}var sw=Object.prototype,ow=sw.toString;function lw(e){return ow.call(e)}var uw="[object Null]",cw="[object Undefined]",Oh=Ui?Ui.toStringTag:void 0;function fw(e){return e==null?e===void 0?cw:uw:Oh&&Oh in Object(e)?aw(e):lw(e)}function dw(e){return e!=null&&typeof e=="object"}var hw="[object Symbol]";function pw(e){return typeof e=="symbol"||dw(e)&&fw(e)==hw}function mw(e,t){for(var r=-1,n=e==null?0:e.length,i=Array(n);++ri?0:i+t),r=r>i?i:r,r<0&&(r+=i),i=t>r?0:r-t>>>0,t>>>=0;for(var a=Array(i);++n=n?e:bw(e,t,r)}var ww="\\ud800-\\udfff",Sw="\\u0300-\\u036f",Ew="\\ufe20-\\ufe2f",xw="\\u20d0-\\u20ff",Tw=Sw+Ew+xw,kw="\\ufe0e\\ufe0f",Aw="\\u200d",Rw=RegExp("["+Aw+ww+Tw+kw+"]");function fg(e){return Rw.test(e)}function Ow(e){return e.split("")}var dg="\\ud800-\\udfff",Mw="\\u0300-\\u036f",Nw="\\ufe20-\\ufe2f",Cw="\\u20d0-\\u20ff",Iw=Mw+Nw+Cw,Dw="\\ufe0e\\ufe0f",Bw="["+dg+"]",cu="["+Iw+"]",fu="\\ud83c[\\udffb-\\udfff]",Pw="(?:"+cu+"|"+fu+")",hg="[^"+dg+"]",pg="(?:\\ud83c[\\udde6-\\uddff]){2}",mg="[\\ud800-\\udbff][\\udc00-\\udfff]",Lw="\\u200d",gg=Pw+"?",yg="["+Dw+"]?",zw="(?:"+Lw+"(?:"+[hg,pg,mg].join("|")+")"+yg+gg+")*",$w=yg+gg+zw,Fw="(?:"+[hg+cu+"?",cu,pg,mg,Bw].join("|")+")",Hw=RegExp(fu+"(?="+fu+")|"+Fw+$w,"g");function Uw(e){return e.match(Hw)||[]}function jw(e){return fg(e)?Uw(e):Ow(e)}function qw(e){return function(t){t=u0(t);var r=fg(t)?jw(t):void 0,n=r?r[0]:t.charAt(0),i=r?_w(r,1).join(""):t.slice(1);return n[e]()+i}}var Gw=qw("toUpperCase");const Yw=Gw;function Ww(e){return Yw(u0(e).toLowerCase())}function Vw(e,t,r,n){var i=-1,a=e==null?0:e.length;for(n&&a&&(r=e[++i]);++i{var g;let p={};if(s==="none")return null;if(s==="default"&&n&&i&&(p.text=n,p.url=i),s==="external"&&o&&l&&(p.text=o,p.url=l,p.download=u),s==="internal"){const v=(g=d.relatedItems[c])==null?void 0:g[0];v?(p.text=o??v.title,p.url=gt(v)):p={}}return p};return a(r?{linkType:e.content[`${r}LinkType`],linkLabel:e.content[`${r}LinkLabel`],linkDownload:e.content[`${r}LinkDownload`],linkUrl:e.content[`${r}LinkUrl`],browserName:du(`${r}_link_item`),resource:e}:{linkType:e.content.linkType,linkLabel:e.content.linkLabel,linkUrl:e.content.linkUrl,linkDownload:e.content.linkDownload,browserName:du("link_item"),resource:e})}const $S=e=>Ng(e);function Cg(e,t){var n;const r=((n=e.meta)==null?void 0:n.browsers)||{};return(e.relatedItems[t]||[]).filter(i=>{if(!i)return null;if(e.type!=="blocks")return!0;const a=r[t],s=parseInt(i.id);return a&&a.includes(s)})}function $c(e,t){const r=Cg(e,t);return r!=null&&r.length?r[0]:null}function Fc(e,t,r=null){const n=du(t),i=e.media[n]??null;return i?r?i==null?void 0:i.map(a=>a[r]||{}):i:null}function Or(e,t,r=null){const n=Fc(e,t,r);return n!=null&&n.length?n[0]:null}function Hc(e){var r;if(!e)return null;const t={type:e.type,id:e.id};switch(e.type){case lg:t.title=e.title,t.image=Or(e,"cover","default"),t.link={url:gt(e)};break;case uu:t.title=e.title,t.image=Or(e,"heroImage","half-width"),t.link={url:gt(e)},t.meta={date:e.publicationDate,tags:(r=e.tags)==null?void 0:r.map(n=>({text:n.title}))};break;case sg:t.title=e.title,t.subtitle=e.description,t.image=Or(e,"cover","default"),t.meta={date:e.publicationDate},t.link={url:gt(e)};break;case og:t.title=e.title,t.subtitle=e.description,t.image=Or(e,"cover","half-width"),t.meta={},t.link={url:gt(e)};break;case l0:t.title=e.title,t.image=Or(e,"heroImage","half-width"),t.link={text:"Learn more",url:gt(e)};break;case Ka:t.title=e.title,t.subtitle=e.description,t.image=Or(e,"cover","listing"),t.link={url:gt(e)},t.meta={date:e.publicationDate};break}return t}function c0(e,t={}){var n;if(!e||!e.length)return[];const r=e.map(i=>Hc(i));return(n=Object.keys(t))!=null&&n.length?r.map(i=>t[i.type]?[...t[i.type],"id","type"].reduce((a,s)=>(a[s]=i[s],a),{}):i):r}function FS(e,t={}){return c0(e,{[l0]:["title","link","meta"]})}function HS(e){return c0(e,{[Ka]:["title","image","link","meta"]})}function US(e){return c0(e,{[l0]:["title","link","image"]})}function jS(e){const{inheritance:t,item_blurb:r,item_link_download:n,item_link_label:i,item_link_type:a,item_link_url:s,item_title:o}=e.content;let l=o,u=Or(e,"listingMixedItemImage","default"),c=null,d=r;const p={text:i,url:s};if(a==="internal"){const g=$c(e,"item");if(t!=null&&t.includes("title")&&g&&(l=g.title),g){let v;try{v=Hc(g)}catch(E){console.log(E)}if(t!=null&&t.includes("image"))try{u=v.image??u}catch(E){console.log(E)}t!=null&&t.includes("blurb")&&v.meta?c=v.meta:t!=null&&t.includes("blurb")&&v.subtitle&&(d=v.subtitle),a==="internal"&&(p.url=gt(g)),g.type==="landings"&&!i&&(p.text=v.link.text?v.link.text:"Learn more")}}return{title:l,subtitle:d,image:u,link:p,meta:c}}const qS=e=>{var t;return(t=e.links)==null?void 0:t.map(r=>({text:r.label,url:r.url,style:r.style,download:!!r.download,disabled:!!r.disabled,target:r.target}))},GS=e=>{const t=Fc(e,"tabContent","default");return t?t.length>1?t.map(r=>({image:{src:r.src,ratio:r.ratio?r.ratio.replace(":","x"):"ratio-free",alt:r.alt},caption:r.caption,credit:r.credit})):t.map(r=>({src:r.src,ratio:r.ratio?r.ratio.replace(":","x"):"ratio-free",alt:r.alt,caption:r.caption,credit:r.credit})):null};function YS({resource:e,tabs:t}){return{title:e.displayTitle,interactiveType:e.interactiveType,textBeforeDropdown:e.textBeforeDropdown,textAfterDropdown:e.textAfterDropdown,tabs:t.map(r=>({title:r.title,position:r.position,content:r.interactiveTabContents.map(n=>{var i,a,s;return{position:n.position,subtitle:n.subtitle,label:n.label,contentType:n.contentType,content:n.text,code:n.code,lang:n.lang,images:GS(n),snippet:(a=(i=n.relatedItems)==null?void 0:i.snippets)!=null&&a.length?(s=n.relatedItems)==null?void 0:s.snippets[0]:null}})}))}}function Ig(e){const t=e.researchPublicationLinks??null;return t==null?void 0:t.map(r=>{const n=r.href;let i=r.title;return!i&&r.type==="paper"?i="Read paper":!i&&r.type==="code"&&(i="View code"),{href:n,title:i,type:r.type,type:r.type}})}function Dg(e){const t=Ig(e);return Array.isArray(t)&&t.length?t.find(({type:r})=>r==="paper"):null}const WS="+2 (Full bleed)",VS="+1 (No bleed)",BP="level-1",KS="level-2";function XS(e){return e==null?void 0:e.map(t=>{var a;const r=Dg(t),n=t.template===KS?WS:VS,i=Or(t,"cover",n);return{type:t.type,id:t.id,title:t.title,date:t.publicationDate,url:gt(t),resource:{text:r==null?void 0:r.title,url:r==null?void 0:r.href},image:{src:i==null?void 0:i.src,alt:i==null?void 0:i.alt},tags:(a=t.topics)==null?void 0:a.map(s=>({text:s==null?void 0:s.title,url:gt(s)}))}})}function JS(e){var n,i;const t=[],r=a=>t.push({text:a.title,url:gt(a,{context:"customer-stories"})});return(n=e.topics)==null||n.map(r),(i=e.products)==null||i.map(r),t}function ZS(e){var n,i,a;const t=[],r=s=>t.push({text:s.title,url:gt(s)});return(n=e.topics)==null||n.map(r),(i=e.models)==null||i.map(r),(a=e.contentTypes)==null||a.map(r),t}function QS(e){var n;const t=(n=e.authorGroups)==null?void 0:n.map(i=>{var a;return{title:i.title,links:(a=i.authors)==null?void 0:a.map(s=>({text:s.fullname,url:gt(s,{context:Ka})}))}}),r=[[],[]];for(let i=0;ie.filter(r=>r.bucketKey===t).sort((r,n)=>r.position-n.position).map(r=>r.featured),Bg=e=>{if(!e)return null;let t,r;if(e.type===w_){if(e.linkType==="internal"){const n=$c(e,"links");r=e.label.length>0?e.label:n.title;try{t=gt(n)}catch(i){console.error(i)}}return e.linkType==="external"&&(r=e.label,t=e.url),{text:r,url:t}}else r=e.title,t=gt(e);return!r||!t?null:{text:r,url:t}},tE=e=>e&&e.length&&e.map(Bg).filter(t=>t).filter(t=>t.url),rE={blocks:{featureLink:$S,listingLink:Ng,listingMixedItem:jS},buckets:{byKey:eE,navigationLink:Bg,navigationLinks:tE},customerStories:{tags:JS},interactives:{tabs:YS},media:{imageByRole:Or,imagesByRole:Fc},relatedItems:{browser:Cg,firstBrowserItem:$c},researchPublications:{links:Ig,indexItems:XS,firstPaperLink:Dg,tags:ZS,authors:QS},card:Hc,cards:c0,heroLinks:qS,searchCardItems:FS,researchPublicationCardItems:HS,landingCardItems:US,route:gt},nE=At(()=>({provide:{api:V_,helpers:rE}})),iE=At(e=>{e.hook("app:error",t=>{t.toString().includes("Failed to fetch dynamically imported module")&&window.location.reload()})});var Uc={exports:{}};function jc(e){return e instanceof Map?e.clear=e.delete=e.set=function(){throw new Error("map is read-only")}:e instanceof Set&&(e.add=e.clear=e.delete=function(){throw new Error("set is read-only")}),Object.freeze(e),Object.getOwnPropertyNames(e).forEach(function(t){var r=e[t];typeof r=="object"&&!Object.isFrozen(r)&&jc(r)}),e}Uc.exports=jc;Uc.exports.default=jc;let Ph=class{constructor(t){t.data===void 0&&(t.data={}),this.data=t.data,this.isMatchIgnored=!1}ignoreMatch(){this.isMatchIgnored=!0}};function Pg(e){return e.replace(/&/g,"&").replace(//g,">").replace(/"/g,""").replace(/'/g,"'")}function ln(e,...t){const r=Object.create(null);for(const n in e)r[n]=e[n];return t.forEach(function(n){for(const i in n)r[i]=n[i]}),r}const aE="",Lh=e=>!!e.scope||e.sublanguage&&e.language,sE=(e,{prefix:t})=>{if(e.includes(".")){const r=e.split(".");return[`${t}${r.shift()}`,...r.map((n,i)=>`${n}${"_".repeat(i+1)}`)].join(" ")}return`${t}${e}`};class oE{constructor(t,r){this.buffer="",this.classPrefix=r.classPrefix,t.walk(this)}addText(t){this.buffer+=Pg(t)}openNode(t){if(!Lh(t))return;let r="";t.sublanguage?r=`language-${t.language}`:r=sE(t.scope,{prefix:this.classPrefix}),this.span(r)}closeNode(t){Lh(t)&&(this.buffer+=aE)}value(){return this.buffer}span(t){this.buffer+=``}}const zh=(e={})=>{const t={children:[]};return Object.assign(t,e),t};class qc{constructor(){this.rootNode=zh(),this.stack=[this.rootNode]}get top(){return this.stack[this.stack.length-1]}get root(){return this.rootNode}add(t){this.top.children.push(t)}openNode(t){const r=zh({scope:t});this.add(r),this.stack.push(r)}closeNode(){if(this.stack.length>1)return this.stack.pop()}closeAllNodes(){for(;this.closeNode(););}toJSON(){return JSON.stringify(this.rootNode,null,4)}walk(t){return this.constructor._walk(t,this.rootNode)}static _walk(t,r){return typeof r=="string"?t.addText(r):r.children&&(t.openNode(r),r.children.forEach(n=>this._walk(t,n)),t.closeNode(r)),t}static _collapse(t){typeof t!="string"&&t.children&&(t.children.every(r=>typeof r=="string")?t.children=[t.children.join("")]:t.children.forEach(r=>{qc._collapse(r)}))}}class lE extends qc{constructor(t){super(),this.options=t}addKeyword(t,r){t!==""&&(this.openNode(r),this.addText(t),this.closeNode())}addText(t){t!==""&&this.add(t)}addSublanguage(t,r){const n=t.root;n.sublanguage=!0,n.language=r,this.add(n)}toHTML(){return new oE(this,this.options).value()}finalize(){return!0}}function Xa(e){return e?typeof e=="string"?e:e.source:null}function Lg(e){return ni("(?=",e,")")}function uE(e){return ni("(?:",e,")*")}function cE(e){return ni("(?:",e,")?")}function ni(...e){return e.map(r=>Xa(r)).join("")}function fE(e){const t=e[e.length-1];return typeof t=="object"&&t.constructor===Object?(e.splice(e.length-1,1),t):{}}function Gc(...e){return"("+(fE(e).capture?"":"?:")+e.map(n=>Xa(n)).join("|")+")"}function zg(e){return new RegExp(e.toString()+"|").exec("").length-1}function dE(e,t){const r=e&&e.exec(t);return r&&r.index===0}const hE=/\[(?:[^\\\]]|\\.)*\]|\(\??|\\([1-9][0-9]*)|\\./;function Yc(e,{joinWith:t}){let r=0;return e.map(n=>{r+=1;const i=r;let a=Xa(n),s="";for(;a.length>0;){const o=hE.exec(a);if(!o){s+=a;break}s+=a.substring(0,o.index),a=a.substring(o.index+o[0].length),o[0][0]==="\\"&&o[1]?s+="\\"+String(Number(o[1])+i):(s+=o[0],o[0]==="("&&r++)}return s}).map(n=>`(${n})`).join(t)}const pE=/\b\B/,$g="[a-zA-Z]\\w*",Wc="[a-zA-Z_]\\w*",Fg="\\b\\d+(\\.\\d+)?",Hg="(-?)(\\b0[xX][a-fA-F0-9]+|(\\b\\d+(\\.\\d*)?|\\.\\d+)([eE][-+]?\\d+)?)",Ug="\\b(0b[01]+)",mE="!|!=|!==|%|%=|&|&&|&=|\\*|\\*=|\\+|\\+=|,|-|-=|/=|/|:|;|<<|<<=|<=|<|===|==|=|>>>=|>>=|>=|>>>|>>|>|\\?|\\[|\\{|\\(|\\^|\\^=|\\||\\|=|\\|\\||~",gE=(e={})=>{const t=/^#![ ]*\//;return e.binary&&(e.begin=ni(t,/.*\b/,e.binary,/\b.*/)),ln({scope:"meta",begin:t,end:/$/,relevance:0,"on:begin":(r,n)=>{r.index!==0&&n.ignoreMatch()}},e)},Ja={begin:"\\\\[\\s\\S]",relevance:0},yE={scope:"string",begin:"'",end:"'",illegal:"\\n",contains:[Ja]},vE={scope:"string",begin:'"',end:'"',illegal:"\\n",contains:[Ja]},bE={begin:/\b(a|an|the|are|I'm|isn't|don't|doesn't|won't|but|just|should|pretty|simply|enough|gonna|going|wtf|so|such|will|you|your|they|like|more)\b/},f0=function(e,t,r={}){const n=ln({scope:"comment",begin:e,end:t,contains:[]},r);n.contains.push({scope:"doctag",begin:"[ ]*(?=(TODO|FIXME|NOTE|BUG|OPTIMIZE|HACK|XXX):)",end:/(TODO|FIXME|NOTE|BUG|OPTIMIZE|HACK|XXX):/,excludeBegin:!0,relevance:0});const i=Gc("I","a","is","so","us","to","at","if","in","it","on",/[A-Za-z]+['](d|ve|re|ll|t|s|n)/,/[A-Za-z]+[-][a-z]+/,/[A-Za-z][a-z]{2,}/);return n.contains.push({begin:ni(/[ ]+/,"(",i,/[.]?[:]?([.][ ]|[ ])/,"){3}")}),n},_E=f0("//","$"),wE=f0("/\\*","\\*/"),SE=f0("#","$"),EE={scope:"number",begin:Fg,relevance:0},xE={scope:"number",begin:Hg,relevance:0},TE={scope:"number",begin:Ug,relevance:0},kE={begin:/(?=\/[^/\n]*\/)/,contains:[{scope:"regexp",begin:/\//,end:/\/[gimuy]*/,illegal:/\n/,contains:[Ja,{begin:/\[/,end:/\]/,relevance:0,contains:[Ja]}]}]},AE={scope:"title",begin:$g,relevance:0},RE={scope:"title",begin:Wc,relevance:0},OE={begin:"\\.\\s*"+Wc,relevance:0},ME=function(e){return Object.assign(e,{"on:begin":(t,r)=>{r.data._beginMatch=t[1]},"on:end":(t,r)=>{r.data._beginMatch!==t[1]&&r.ignoreMatch()}})};var Hs=Object.freeze({__proto__:null,MATCH_NOTHING_RE:pE,IDENT_RE:$g,UNDERSCORE_IDENT_RE:Wc,NUMBER_RE:Fg,C_NUMBER_RE:Hg,BINARY_NUMBER_RE:Ug,RE_STARTERS_RE:mE,SHEBANG:gE,BACKSLASH_ESCAPE:Ja,APOS_STRING_MODE:yE,QUOTE_STRING_MODE:vE,PHRASAL_WORDS_MODE:bE,COMMENT:f0,C_LINE_COMMENT_MODE:_E,C_BLOCK_COMMENT_MODE:wE,HASH_COMMENT_MODE:SE,NUMBER_MODE:EE,C_NUMBER_MODE:xE,BINARY_NUMBER_MODE:TE,REGEXP_MODE:kE,TITLE_MODE:AE,UNDERSCORE_TITLE_MODE:RE,METHOD_GUARD:OE,END_SAME_AS_BEGIN:ME});function NE(e,t){e.input[e.index-1]==="."&&t.ignoreMatch()}function CE(e,t){e.className!==void 0&&(e.scope=e.className,delete e.className)}function IE(e,t){t&&e.beginKeywords&&(e.begin="\\b("+e.beginKeywords.split(" ").join("|")+")(?!\\.)(?=\\b|\\s)",e.__beforeBegin=NE,e.keywords=e.keywords||e.beginKeywords,delete e.beginKeywords,e.relevance===void 0&&(e.relevance=0))}function DE(e,t){Array.isArray(e.illegal)&&(e.illegal=Gc(...e.illegal))}function BE(e,t){if(e.match){if(e.begin||e.end)throw new Error("begin & end are not supported with match");e.begin=e.match,delete e.match}}function PE(e,t){e.relevance===void 0&&(e.relevance=1)}const LE=(e,t)=>{if(!e.beforeMatch)return;if(e.starts)throw new Error("beforeMatch cannot be used with starts");const r=Object.assign({},e);Object.keys(e).forEach(n=>{delete e[n]}),e.keywords=r.keywords,e.begin=ni(r.beforeMatch,Lg(r.begin)),e.starts={relevance:0,contains:[Object.assign(r,{endsParent:!0})]},e.relevance=0,delete r.beforeMatch},zE=["of","and","for","in","not","or","if","then","parent","list","value"],$E="keyword";function jg(e,t,r=$E){const n=Object.create(null);return typeof e=="string"?i(r,e.split(" ")):Array.isArray(e)?i(r,e):Object.keys(e).forEach(function(a){Object.assign(n,jg(e[a],t,a))}),n;function i(a,s){t&&(s=s.map(o=>o.toLowerCase())),s.forEach(function(o){const l=o.split("|");n[l[0]]=[a,FE(l[0],l[1])]})}}function FE(e,t){return t?Number(t):HE(e)?0:1}function HE(e){return zE.includes(e.toLowerCase())}const $h={},Yn=e=>{console.error(e)},Fh=(e,...t)=>{console.log(`WARN: ${e}`,...t)},oi=(e,t)=>{$h[`${e}/${t}`]||(console.log(`Deprecated as of ${e}. ${t}`),$h[`${e}/${t}`]=!0)},Ao=new Error;function qg(e,t,{key:r}){let n=0;const i=e[r],a={},s={};for(let o=1;o<=t.length;o++)s[o+n]=i[o],a[o+n]=!0,n+=zg(t[o-1]);e[r]=s,e[r]._emit=a,e[r]._multi=!0}function UE(e){if(Array.isArray(e.begin)){if(e.skip||e.excludeBegin||e.returnBegin)throw Yn("skip, excludeBegin, returnBegin not compatible with beginScope: {}"),Ao;if(typeof e.beginScope!="object"||e.beginScope===null)throw Yn("beginScope must be object"),Ao;qg(e,e.begin,{key:"beginScope"}),e.begin=Yc(e.begin,{joinWith:""})}}function jE(e){if(Array.isArray(e.end)){if(e.skip||e.excludeEnd||e.returnEnd)throw Yn("skip, excludeEnd, returnEnd not compatible with endScope: {}"),Ao;if(typeof e.endScope!="object"||e.endScope===null)throw Yn("endScope must be object"),Ao;qg(e,e.end,{key:"endScope"}),e.end=Yc(e.end,{joinWith:""})}}function qE(e){e.scope&&typeof e.scope=="object"&&e.scope!==null&&(e.beginScope=e.scope,delete e.scope)}function GE(e){qE(e),typeof e.beginScope=="string"&&(e.beginScope={_wrap:e.beginScope}),typeof e.endScope=="string"&&(e.endScope={_wrap:e.endScope}),UE(e),jE(e)}function YE(e){function t(s,o){return new RegExp(Xa(s),"m"+(e.case_insensitive?"i":"")+(e.unicodeRegex?"u":"")+(o?"g":""))}class r{constructor(){this.matchIndexes={},this.regexes=[],this.matchAt=1,this.position=0}addRule(o,l){l.position=this.position++,this.matchIndexes[this.matchAt]=l,this.regexes.push([l,o]),this.matchAt+=zg(o)+1}compile(){this.regexes.length===0&&(this.exec=()=>null);const o=this.regexes.map(l=>l[1]);this.matcherRe=t(Yc(o,{joinWith:"|"}),!0),this.lastIndex=0}exec(o){this.matcherRe.lastIndex=this.lastIndex;const l=this.matcherRe.exec(o);if(!l)return null;const u=l.findIndex((d,p)=>p>0&&d!==void 0),c=this.matchIndexes[u];return l.splice(0,u),Object.assign(l,c)}}class n{constructor(){this.rules=[],this.multiRegexes=[],this.count=0,this.lastIndex=0,this.regexIndex=0}getMatcher(o){if(this.multiRegexes[o])return this.multiRegexes[o];const l=new r;return this.rules.slice(o).forEach(([u,c])=>l.addRule(u,c)),l.compile(),this.multiRegexes[o]=l,l}resumingScanAtSamePosition(){return this.regexIndex!==0}considerAll(){this.regexIndex=0}addRule(o,l){this.rules.push([o,l]),l.type==="begin"&&this.count++}exec(o){const l=this.getMatcher(this.regexIndex);l.lastIndex=this.lastIndex;let u=l.exec(o);if(this.resumingScanAtSamePosition()&&!(u&&u.index===this.lastIndex)){const c=this.getMatcher(0);c.lastIndex=this.lastIndex+1,u=c.exec(o)}return u&&(this.regexIndex+=u.position+1,this.regexIndex===this.count&&this.considerAll()),u}}function i(s){const o=new n;return s.contains.forEach(l=>o.addRule(l.begin,{rule:l,type:"begin"})),s.terminatorEnd&&o.addRule(s.terminatorEnd,{type:"end"}),s.illegal&&o.addRule(s.illegal,{type:"illegal"}),o}function a(s,o){const l=s;if(s.isCompiled)return l;[CE,BE,GE,LE].forEach(c=>c(s,o)),e.compilerExtensions.forEach(c=>c(s,o)),s.__beforeBegin=null,[IE,DE,PE].forEach(c=>c(s,o)),s.isCompiled=!0;let u=null;return typeof s.keywords=="object"&&s.keywords.$pattern&&(s.keywords=Object.assign({},s.keywords),u=s.keywords.$pattern,delete s.keywords.$pattern),u=u||/\w+/,s.keywords&&(s.keywords=jg(s.keywords,e.case_insensitive)),l.keywordPatternRe=t(u,!0),o&&(s.begin||(s.begin=/\B|\b/),l.beginRe=t(l.begin),!s.end&&!s.endsWithParent&&(s.end=/\B|\b/),s.end&&(l.endRe=t(l.end)),l.terminatorEnd=Xa(l.end)||"",s.endsWithParent&&o.terminatorEnd&&(l.terminatorEnd+=(s.end?"|":"")+o.terminatorEnd)),s.illegal&&(l.illegalRe=t(s.illegal)),s.contains||(s.contains=[]),s.contains=[].concat(...s.contains.map(function(c){return WE(c==="self"?s:c)})),s.contains.forEach(function(c){a(c,l)}),s.starts&&a(s.starts,o),l.matcher=i(l),l}if(e.compilerExtensions||(e.compilerExtensions=[]),e.contains&&e.contains.includes("self"))throw new Error("ERR: contains `self` is not supported at the top-level of a language. See documentation.");return e.classNameAliases=ln(e.classNameAliases||{}),a(e)}function Gg(e){return e?e.endsWithParent||Gg(e.starts):!1}function WE(e){return e.variants&&!e.cachedVariants&&(e.cachedVariants=e.variants.map(function(t){return ln(e,{variants:null},t)})),e.cachedVariants?e.cachedVariants:Gg(e)?ln(e,{starts:e.starts?ln(e.starts):null}):Object.isFrozen(e)?ln(e):e}var VE="11.7.0";class KE extends Error{constructor(t,r){super(t),this.name="HTMLInjectionError",this.html=r}}const al=Pg,Hh=ln,Uh=Symbol("nomatch"),XE=7,JE=function(e){const t=Object.create(null),r=Object.create(null),n=[];let i=!0;const a="Could not find the language '{}', did you forget to load/include a language module?",s={disableAutodetect:!0,name:"Plain text",contains:[]};let o={ignoreUnescapedHTML:!1,throwUnescapedHTML:!1,noHighlightRe:/^(no-?highlight)$/i,languageDetectRe:/\blang(?:uage)?-([\w-]+)\b/i,classPrefix:"hljs-",cssSelector:"pre code",languages:null,__emitter:lE};function l(I){return o.noHighlightRe.test(I)}function u(I){let K=I.className+" ";K+=I.parentNode?I.parentNode.className:"";const ne=o.languageDetectRe.exec(K);if(ne){const ge=q(ne[1]);return ge||(Fh(a.replace("{}",ne[1])),Fh("Falling back to no-highlight mode for this block.",I)),ge?ne[1]:"no-highlight"}return K.split(/\s+/).find(ge=>l(ge)||q(ge))}function c(I,K,ne){let ge="",Te="";typeof K=="object"?(ge=I,ne=K.ignoreIllegals,Te=K.language):(oi("10.7.0","highlight(lang, code, ...args) has been deprecated."),oi("10.7.0",`Please use highlight(code, options) instead. https://github.com/highlightjs/highlight.js/issues/2277`),Te=I,ge=K),ne===void 0&&(ne=!0);const Ne={code:ge,language:Te};W("before:highlight",Ne);const Re=Ne.result?Ne.result:d(Ne.language,Ne.code,ne);return Re.code=Ne.code,W("after:highlight",Re),Re}function d(I,K,ne,ge){const Te=Object.create(null);function Ne($,J){return $.keywords[J]}function Re(){if(!D.keywords){U.addText(G);return}let $=0;D.keywordPatternRe.lastIndex=0;let J=D.keywordPatternRe.exec(G),ce="";for(;J;){ce+=G.substring($,J.index);const pe=C.case_insensitive?J[0].toLowerCase():J[0],Me=Ne(D,pe);if(Me){const[tt,qr]=Me;if(U.addText(ce),ce="",Te[pe]=(Te[pe]||0)+1,Te[pe]<=XE&&(V+=qr),tt.startsWith("_"))ce+=J[0];else{const ws=C.classNameAliases[tt]||tt;U.addKeyword(J[0],ws)}}else ce+=J[0];$=D.keywordPatternRe.lastIndex,J=D.keywordPatternRe.exec(G)}ce+=G.substring($),U.addText(ce)}function ut(){if(G==="")return;let $=null;if(typeof D.subLanguage=="string"){if(!t[D.subLanguage]){U.addText(G);return}$=d(D.subLanguage,G,!0,ae[D.subLanguage]),ae[D.subLanguage]=$._top}else $=g(G,D.subLanguage.length?D.subLanguage:null);D.relevance>0&&(V+=$.relevance),U.addSublanguage($._emitter,$.language)}function Je(){D.subLanguage!=null?ut():Re(),G=""}function L($,J){let ce=1;const pe=J.length-1;for(;ce<=pe;){if(!$._emit[ce]){ce++;continue}const Me=C.classNameAliases[$[ce]]||$[ce],tt=J[ce];Me?U.addKeyword(tt,Me):(G=tt,Re(),G=""),ce++}}function se($,J){return $.scope&&typeof $.scope=="string"&&U.openNode(C.classNameAliases[$.scope]||$.scope),$.beginScope&&($.beginScope._wrap?(U.addKeyword(G,C.classNameAliases[$.beginScope._wrap]||$.beginScope._wrap),G=""):$.beginScope._multi&&(L($.beginScope,J),G="")),D=Object.create($,{parent:{value:D}}),D}function te($,J,ce){let pe=dE($.endRe,ce);if(pe){if($["on:end"]){const Me=new Ph($);$["on:end"](J,Me),Me.isMatchIgnored&&(pe=!1)}if(pe){for(;$.endsParent&&$.parent;)$=$.parent;return $}}if($.endsWithParent)return te($.parent,J,ce)}function de($){return D.matcher.regexIndex===0?(G+=$[0],1):(me=!0,0)}function Ae($){const J=$[0],ce=$.rule,pe=new Ph(ce),Me=[ce.__beforeBegin,ce["on:begin"]];for(const tt of Me)if(tt&&(tt($,pe),pe.isMatchIgnored))return de(J);return ce.skip?G+=J:(ce.excludeBegin&&(G+=J),Je(),!ce.returnBegin&&!ce.excludeBegin&&(G=J)),se(ce,$),ce.returnBegin?0:J.length}function Le($){const J=$[0],ce=K.substring($.index),pe=te(D,$,ce);if(!pe)return Uh;const Me=D;D.endScope&&D.endScope._wrap?(Je(),U.addKeyword(J,D.endScope._wrap)):D.endScope&&D.endScope._multi?(Je(),L(D.endScope,$)):Me.skip?G+=J:(Me.returnEnd||Me.excludeEnd||(G+=J),Je(),Me.excludeEnd&&(G=J));do D.scope&&U.closeNode(),!D.skip&&!D.subLanguage&&(V+=D.relevance),D=D.parent;while(D!==pe.parent);return pe.starts&&se(pe.starts,$),Me.returnEnd?0:J.length}function xe(){const $=[];for(let J=D;J!==C;J=J.parent)J.scope&&$.unshift(J.scope);$.forEach(J=>U.openNode(J))}let w={};function k($,J){const ce=J&&J[0];if(G+=$,ce==null)return Je(),0;if(w.type==="begin"&&J.type==="end"&&w.index===J.index&&ce===""){if(G+=K.slice(J.index,J.index+1),!i){const pe=new Error(`0 width match regex (${I})`);throw pe.languageName=I,pe.badRule=w.rule,pe}return 1}if(w=J,J.type==="begin")return Ae(J);if(J.type==="illegal"&&!ne){const pe=new Error('Illegal lexeme "'+ce+'" for mode "'+(D.scope||"")+'"');throw pe.mode=D,pe}else if(J.type==="end"){const pe=Le(J);if(pe!==Uh)return pe}if(J.type==="illegal"&&ce==="")return 1;if(fe>1e5&&fe>J.index*3)throw new Error("potential infinite loop, way more iterations than matches");return G+=ce,ce.length}const C=q(I);if(!C)throw Yn(a.replace("{}",I)),new Error('Unknown language: "'+I+'"');const z=YE(C);let H="",D=ge||z;const ae={},U=new o.__emitter(o);xe();let G="",V=0,he=0,fe=0,me=!1;try{for(D.matcher.considerAll();;){fe++,me?me=!1:D.matcher.considerAll(),D.matcher.lastIndex=he;const $=D.matcher.exec(K);if(!$)break;const J=K.substring(he,$.index),ce=k(J,$);he=$.index+ce}return k(K.substring(he)),U.closeAllNodes(),U.finalize(),H=U.toHTML(),{language:I,value:H,relevance:V,illegal:!1,_emitter:U,_top:D}}catch($){if($.message&&$.message.includes("Illegal"))return{language:I,value:al(K),illegal:!0,relevance:0,_illegalBy:{message:$.message,index:he,context:K.slice(he-100,he+100),mode:$.mode,resultSoFar:H},_emitter:U};if(i)return{language:I,value:al(K),illegal:!1,relevance:0,errorRaised:$,_emitter:U,_top:D};throw $}}function p(I){const K={value:al(I),illegal:!1,relevance:0,_top:s,_emitter:new o.__emitter(o)};return K._emitter.addText(I),K}function g(I,K){K=K||o.languages||Object.keys(t);const ne=p(I),ge=K.filter(q).filter(ie).map(Je=>d(Je,I,!1));ge.unshift(ne);const Te=ge.sort((Je,L)=>{if(Je.relevance!==L.relevance)return L.relevance-Je.relevance;if(Je.language&&L.language){if(q(Je.language).supersetOf===L.language)return 1;if(q(L.language).supersetOf===Je.language)return-1}return 0}),[Ne,Re]=Te,ut=Ne;return ut.secondBest=Re,ut}function v(I,K,ne){const ge=K&&r[K]||ne;I.classList.add("hljs"),I.classList.add(`language-${ge}`)}function E(I){let K=null;const ne=u(I);if(l(ne))return;if(W("before:highlightElement",{el:I,language:ne}),I.children.length>0&&(o.ignoreUnescapedHTML||(console.warn("One of your code blocks includes unescaped HTML. This is a potentially serious security risk."),console.warn("https://github.com/highlightjs/highlight.js/wiki/security"),console.warn("The element with unescaped HTML:"),console.warn(I)),o.throwUnescapedHTML))throw new KE("One of your code blocks includes unescaped HTML.",I.innerHTML);K=I;const ge=K.textContent,Te=ne?c(ge,{language:ne,ignoreIllegals:!0}):g(ge);I.innerHTML=Te.value,v(I,ne,Te.language),I.result={language:Te.language,re:Te.relevance,relevance:Te.relevance},Te.secondBest&&(I.secondBest={language:Te.secondBest.language,relevance:Te.secondBest.relevance}),W("after:highlightElement",{el:I,result:Te,text:ge})}function R(I){o=Hh(o,I)}const _=()=>{O(),oi("10.6.0","initHighlighting() deprecated. Use highlightAll() now.")};function b(){O(),oi("10.6.0","initHighlightingOnLoad() deprecated. Use highlightAll() now.")}let T=!1;function O(){if(document.readyState==="loading"){T=!0;return}document.querySelectorAll(o.cssSelector).forEach(E)}function N(){T&&O()}typeof window<"u"&&window.addEventListener&&window.addEventListener("DOMContentLoaded",N,!1);function B(I,K){let ne=null;try{ne=K(e)}catch(ge){if(Yn("Language definition for '{}' could not be registered.".replace("{}",I)),i)Yn(ge);else throw ge;ne=s}ne.name||(ne.name=I),t[I]=ne,ne.rawDefinition=K.bind(null,e),ne.aliases&&re(ne.aliases,{languageName:I})}function F(I){delete t[I];for(const K of Object.keys(r))r[K]===I&&delete r[K]}function P(){return Object.keys(t)}function q(I){return I=(I||"").toLowerCase(),t[I]||t[r[I]]}function re(I,{languageName:K}){typeof I=="string"&&(I=[I]),I.forEach(ne=>{r[ne.toLowerCase()]=K})}function ie(I){const K=q(I);return K&&!K.disableAutodetect}function j(I){I["before:highlightBlock"]&&!I["before:highlightElement"]&&(I["before:highlightElement"]=K=>{I["before:highlightBlock"](Object.assign({block:K.el},K))}),I["after:highlightBlock"]&&!I["after:highlightElement"]&&(I["after:highlightElement"]=K=>{I["after:highlightBlock"](Object.assign({block:K.el},K))})}function oe(I){j(I),n.push(I)}function W(I,K){const ne=I;n.forEach(function(ge){ge[ne]&&ge[ne](K)})}function Ee(I){return oi("10.7.0","highlightBlock will be removed entirely in v12.0"),oi("10.7.0","Please use highlightElement now."),E(I)}Object.assign(e,{highlight:c,highlightAuto:g,highlightAll:O,highlightElement:E,highlightBlock:Ee,configure:R,initHighlighting:_,initHighlightingOnLoad:b,registerLanguage:B,unregisterLanguage:F,listLanguages:P,getLanguage:q,registerAliases:re,autoDetection:ie,inherit:Hh,addPlugin:oe}),e.debugMode=function(){i=!1},e.safeMode=function(){i=!0},e.versionString=VE,e.regex={concat:ni,lookahead:Lg,either:Gc,optional:cE,anyNumberOfTimes:uE};for(const I in Hs)typeof Hs[I]=="object"&&Uc.exports(Hs[I]);return Object.assign(e,Hs),e};var Za=JE({}),ZE=Za;Za.HighlightJS=Za;Za.default=Za;const Er=ZE,jh="[A-Za-z$_][0-9A-Za-z$_]*",QE=["as","in","of","if","for","while","finally","var","new","function","do","return","void","else","break","catch","instanceof","with","throw","case","default","try","switch","continue","typeof","delete","let","yield","const","class","debugger","async","await","static","import","from","export","extends"],ex=["true","false","null","undefined","NaN","Infinity"],Yg=["Object","Function","Boolean","Symbol","Math","Date","Number","BigInt","String","RegExp","Array","Float32Array","Float64Array","Int8Array","Uint8Array","Uint8ClampedArray","Int16Array","Int32Array","Uint16Array","Uint32Array","BigInt64Array","BigUint64Array","Set","Map","WeakSet","WeakMap","ArrayBuffer","SharedArrayBuffer","Atomics","DataView","JSON","Promise","Generator","GeneratorFunction","AsyncFunction","Reflect","Proxy","Intl","WebAssembly"],Wg=["Error","EvalError","InternalError","RangeError","ReferenceError","SyntaxError","TypeError","URIError"],Vg=["setInterval","setTimeout","clearInterval","clearTimeout","require","exports","eval","isFinite","isNaN","parseFloat","parseInt","decodeURI","decodeURIComponent","encodeURI","encodeURIComponent","escape","unescape"],tx=["arguments","this","super","console","window","document","localStorage","module","global"],rx=[].concat(Vg,Yg,Wg);function nx(e){const t=e.regex,r=(K,{after:ne})=>{const ge="",end:""},a=/<[A-Za-z0-9\\._:-]+\s*\/>/,s={begin:/<[A-Za-z0-9\\._:-]+/,end:/\/[A-Za-z0-9\\._:-]+>|\/>/,isTrulyOpeningTag:(K,ne)=>{const ge=K[0].length+K.index,Te=K.input[ge];if(Te==="<"||Te===","){ne.ignoreMatch();return}Te===">"&&(r(K,{after:ge})||ne.ignoreMatch());let Ne;const Re=K.input.substring(ge);if(Ne=Re.match(/^\s*=/)){ne.ignoreMatch();return}if((Ne=Re.match(/^\s+extends\s+/))&&Ne.index===0){ne.ignoreMatch();return}}},o={$pattern:jh,keyword:QE,literal:ex,built_in:rx,"variable.language":tx},l="[0-9](_?[0-9])*",u=`\\.(${l})`,c="0|[1-9](_?[0-9])*|0[0-7]*[89][0-9]*",d={className:"number",variants:[{begin:`(\\b(${c})((${u})|\\.)?|(${u}))[eE][+-]?(${l})\\b`},{begin:`\\b(${c})\\b((${u})\\b|\\.)?|(${u})\\b`},{begin:"\\b(0|[1-9](_?[0-9])*)n\\b"},{begin:"\\b0[xX][0-9a-fA-F](_?[0-9a-fA-F])*n?\\b"},{begin:"\\b0[bB][0-1](_?[0-1])*n?\\b"},{begin:"\\b0[oO][0-7](_?[0-7])*n?\\b"},{begin:"\\b0[0-7]+n?\\b"}],relevance:0},p={className:"subst",begin:"\\$\\{",end:"\\}",keywords:o,contains:[]},g={begin:"html`",end:"",starts:{end:"`",returnEnd:!1,contains:[e.BACKSLASH_ESCAPE,p],subLanguage:"xml"}},v={begin:"css`",end:"",starts:{end:"`",returnEnd:!1,contains:[e.BACKSLASH_ESCAPE,p],subLanguage:"css"}},E={className:"string",begin:"`",end:"`",contains:[e.BACKSLASH_ESCAPE,p]},_={className:"comment",variants:[e.COMMENT(/\/\*\*(?!\/)/,"\\*/",{relevance:0,contains:[{begin:"(?=@[A-Za-z]+)",relevance:0,contains:[{className:"doctag",begin:"@[A-Za-z]+"},{className:"type",begin:"\\{",end:"\\}",excludeEnd:!0,excludeBegin:!0,relevance:0},{className:"variable",begin:n+"(?=\\s*(-)|$)",endsParent:!0,relevance:0},{begin:/(?=[^\n])\s/,relevance:0}]}]}),e.C_BLOCK_COMMENT_MODE,e.C_LINE_COMMENT_MODE]},b=[e.APOS_STRING_MODE,e.QUOTE_STRING_MODE,g,v,E,{match:/\$\d+/},d];p.contains=b.concat({begin:/\{/,end:/\}/,keywords:o,contains:["self"].concat(b)});const T=[].concat(_,p.contains),O=T.concat([{begin:/\(/,end:/\)/,keywords:o,contains:["self"].concat(T)}]),N={className:"params",begin:/\(/,end:/\)/,excludeBegin:!0,excludeEnd:!0,keywords:o,contains:O},B={variants:[{match:[/class/,/\s+/,n,/\s+/,/extends/,/\s+/,t.concat(n,"(",t.concat(/\./,n),")*")],scope:{1:"keyword",3:"title.class",5:"keyword",7:"title.class.inherited"}},{match:[/class/,/\s+/,n],scope:{1:"keyword",3:"title.class"}}]},F={relevance:0,match:t.either(/\bJSON/,/\b[A-Z][a-z]+([A-Z][a-z]*|\d)*/,/\b[A-Z]{2,}([A-Z][a-z]+|\d)+([A-Z][a-z]*)*/,/\b[A-Z]{2,}[a-z]+([A-Z][a-z]+|\d)*([A-Z][a-z]*)*/),className:"title.class",keywords:{_:[...Yg,...Wg]}},P={label:"use_strict",className:"meta",relevance:10,begin:/^\s*['"]use (strict|asm)['"]/},q={variants:[{match:[/function/,/\s+/,n,/(?=\s*\()/]},{match:[/function/,/\s*(?=\()/]}],className:{1:"keyword",3:"title.function"},label:"func.def",contains:[N],illegal:/%/},re={relevance:0,match:/\b[A-Z][A-Z_0-9]+\b/,className:"variable.constant"};function ie(K){return t.concat("(?!",K.join("|"),")")}const j={match:t.concat(/\b/,ie([...Vg,"super","import"]),n,t.lookahead(/\(/)),className:"title.function",relevance:0},oe={begin:t.concat(/\./,t.lookahead(t.concat(n,/(?![0-9A-Za-z$_(])/))),end:n,excludeBegin:!0,keywords:"prototype",className:"property",relevance:0},W={match:[/get|set/,/\s+/,n,/(?=\()/],className:{1:"keyword",3:"title.function"},contains:[{begin:/\(\)/},N]},Ee="(\\([^()]*(\\([^()]*(\\([^()]*\\)[^()]*)*\\)[^()]*)*\\)|"+e.UNDERSCORE_IDENT_RE+")\\s*=>",I={match:[/const|var|let/,/\s+/,n,/\s*/,/=\s*/,/(async\s*)?/,t.lookahead(Ee)],keywords:"async",className:{1:"keyword",3:"title.function"},contains:[N]};return{name:"Javascript",aliases:["js","jsx","mjs","cjs"],keywords:o,exports:{PARAMS_CONTAINS:O,CLASS_REFERENCE:F},illegal:/#(?![$_A-z])/,contains:[e.SHEBANG({label:"shebang",binary:"node",relevance:5}),P,e.APOS_STRING_MODE,e.QUOTE_STRING_MODE,g,v,E,_,{match:/\$\d+/},d,F,{className:"attr",begin:n+t.lookahead(":"),relevance:0},I,{begin:"("+e.RE_STARTERS_RE+"|\\b(case|return|throw)\\b)\\s*",keywords:"return throw case",relevance:0,contains:[_,e.REGEXP_MODE,{className:"function",begin:Ee,returnBegin:!0,end:"\\s*=>",contains:[{className:"params",variants:[{begin:e.UNDERSCORE_IDENT_RE,relevance:0},{className:null,begin:/\(\s*\)/,skip:!0},{begin:/\(/,end:/\)/,excludeBegin:!0,excludeEnd:!0,keywords:o,contains:O}]}]},{begin:/,/,relevance:0},{match:/\s+/,relevance:0},{variants:[{begin:i.begin,end:i.end},{match:a},{begin:s.begin,"on:begin":s.isTrulyOpeningTag,end:s.end}],subLanguage:"xml",contains:[{begin:s.begin,end:s.end,skip:!0,contains:["self"]}]}]},q,{beginKeywords:"while if switch catch for"},{begin:"\\b(?!function)"+e.UNDERSCORE_IDENT_RE+"\\([^()]*(\\([^()]*(\\([^()]*\\)[^()]*)*\\)[^()]*)*\\)\\s*\\{",returnBegin:!0,label:"func.def",contains:[N,e.inherit(e.TITLE_MODE,{begin:n,className:"title.function"})]},{match:/\.\.\./,relevance:0},oe,{match:"\\$"+n,relevance:0},{match:[/\bconstructor(?=\s*\()/],className:{1:"title.function"},contains:[N]},j,re,B,W,{match:/\$[(.]/}]}}function ix(e){const t=e.regex,r=/(?![A-Za-z0-9])(?![$])/,n=t.concat(/[a-zA-Z_\x7f-\xff][a-zA-Z0-9_\x7f-\xff]*/,r),i=t.concat(/(\\?[A-Z][a-z0-9_\x7f-\xff]+|\\?[A-Z]+(?=[A-Z][a-z0-9_\x7f-\xff])){1,}/,r),a={scope:"variable",match:"\\$+"+n},s={scope:"meta",variants:[{begin:/<\?php/,relevance:10},{begin:/<\?=/},{begin:/<\?/,relevance:.1},{begin:/\?>/}]},o={scope:"subst",variants:[{begin:/\$\w+/},{begin:/\{\$/,end:/\}/}]},l=e.inherit(e.APOS_STRING_MODE,{illegal:null}),u=e.inherit(e.QUOTE_STRING_MODE,{illegal:null,contains:e.QUOTE_STRING_MODE.contains.concat(o)}),c=e.END_SAME_AS_BEGIN({begin:/<<<[ \t]*(\w+)\n/,end:/[ \t]*(\w+)\b/,contains:e.QUOTE_STRING_MODE.contains.concat(o)}),d=`[ ]`,p={scope:"string",variants:[u,l,c]},g={scope:"number",variants:[{begin:"\\b0[bB][01]+(?:_[01]+)*\\b"},{begin:"\\b0[oO][0-7]+(?:_[0-7]+)*\\b"},{begin:"\\b0[xX][\\da-fA-F]+(?:_[\\da-fA-F]+)*\\b"},{begin:"(?:\\b\\d+(?:_\\d+)*(\\.(?:\\d+(?:_\\d+)*))?|\\B\\.\\d+)(?:[eE][+-]?\\d+)?"}],relevance:0},v=["false","null","true"],E=["__CLASS__","__DIR__","__FILE__","__FUNCTION__","__COMPILER_HALT_OFFSET__","__LINE__","__METHOD__","__NAMESPACE__","__TRAIT__","die","echo","exit","include","include_once","print","require","require_once","array","abstract","and","as","binary","bool","boolean","break","callable","case","catch","class","clone","const","continue","declare","default","do","double","else","elseif","empty","enddeclare","endfor","endforeach","endif","endswitch","endwhile","enum","eval","extends","final","finally","float","for","foreach","from","global","goto","if","implements","instanceof","insteadof","int","integer","interface","isset","iterable","list","match|0","mixed","new","never","object","or","private","protected","public","readonly","real","return","string","switch","throw","trait","try","unset","use","var","void","while","xor","yield"],R=["Error|0","AppendIterator","ArgumentCountError","ArithmeticError","ArrayIterator","ArrayObject","AssertionError","BadFunctionCallException","BadMethodCallException","CachingIterator","CallbackFilterIterator","CompileError","Countable","DirectoryIterator","DivisionByZeroError","DomainException","EmptyIterator","ErrorException","Exception","FilesystemIterator","FilterIterator","GlobIterator","InfiniteIterator","InvalidArgumentException","IteratorIterator","LengthException","LimitIterator","LogicException","MultipleIterator","NoRewindIterator","OutOfBoundsException","OutOfRangeException","OuterIterator","OverflowException","ParentIterator","ParseError","RangeException","RecursiveArrayIterator","RecursiveCachingIterator","RecursiveCallbackFilterIterator","RecursiveDirectoryIterator","RecursiveFilterIterator","RecursiveIterator","RecursiveIteratorIterator","RecursiveRegexIterator","RecursiveTreeIterator","RegexIterator","RuntimeException","SeekableIterator","SplDoublyLinkedList","SplFileInfo","SplFileObject","SplFixedArray","SplHeap","SplMaxHeap","SplMinHeap","SplObjectStorage","SplObserver","SplPriorityQueue","SplQueue","SplStack","SplSubject","SplTempFileObject","TypeError","UnderflowException","UnexpectedValueException","UnhandledMatchError","ArrayAccess","BackedEnum","Closure","Fiber","Generator","Iterator","IteratorAggregate","Serializable","Stringable","Throwable","Traversable","UnitEnum","WeakReference","WeakMap","Directory","__PHP_Incomplete_Class","parent","php_user_filter","self","static","stdClass"],b={keyword:E,literal:(j=>{const oe=[];return j.forEach(W=>{oe.push(W),W.toLowerCase()===W?oe.push(W.toUpperCase()):oe.push(W.toLowerCase())}),oe})(v),built_in:R},T=j=>j.map(oe=>oe.replace(/\|\d+$/,"")),O={variants:[{match:[/new/,t.concat(d,"+"),t.concat("(?!",T(R).join("\\b|"),"\\b)"),i],scope:{1:"keyword",4:"title.class"}}]},N=t.concat(n,"\\b(?!\\()"),B={variants:[{match:[t.concat(/::/,t.lookahead(/(?!class\b)/)),N],scope:{2:"variable.constant"}},{match:[/::/,/class/],scope:{2:"variable.language"}},{match:[i,t.concat(/::/,t.lookahead(/(?!class\b)/)),N],scope:{1:"title.class",3:"variable.constant"}},{match:[i,t.concat("::",t.lookahead(/(?!class\b)/))],scope:{1:"title.class"}},{match:[i,/::/,/class/],scope:{1:"title.class",3:"variable.language"}}]},F={scope:"attr",match:t.concat(n,t.lookahead(":"),t.lookahead(/(?!::)/))},P={relevance:0,begin:/\(/,end:/\)/,keywords:b,contains:[F,a,B,e.C_BLOCK_COMMENT_MODE,p,g,O]},q={relevance:0,match:[/\b/,t.concat("(?!fn\\b|function\\b|",T(E).join("\\b|"),"|",T(R).join("\\b|"),"\\b)"),n,t.concat(d,"*"),t.lookahead(/(?=\()/)],scope:{3:"title.function.invoke"},contains:[P]};P.contains.push(q);const re=[F,B,e.C_BLOCK_COMMENT_MODE,p,g,O],ie={begin:t.concat(/#\[\s*/,i),beginScope:"meta",end:/]/,endScope:"meta",keywords:{literal:v,keyword:["new","array"]},contains:[{begin:/\[/,end:/]/,keywords:{literal:v,keyword:["new","array"]},contains:["self",...re]},...re,{scope:"meta",match:i}]};return{case_insensitive:!1,keywords:b,contains:[ie,e.HASH_COMMENT_MODE,e.COMMENT("//","$"),e.COMMENT("/\\*","\\*/",{contains:[{scope:"doctag",match:"@[A-Za-z]+"}]}),{match:/__halt_compiler\(\);/,keywords:"__halt_compiler",starts:{scope:"comment",end:e.MATCH_NOTHING_RE,contains:[{match:/\?>/,scope:"meta",endsParent:!0}]}},s,{scope:"variable.language",match:/\$this\b/},a,q,B,{match:[/const/,/\s/,n],scope:{1:"keyword",3:"variable.constant"}},O,{scope:"function",relevance:0,beginKeywords:"fn function",end:/[;{]/,excludeEnd:!0,illegal:"[$%\\[]",contains:[{beginKeywords:"use"},e.UNDERSCORE_TITLE_MODE,{begin:"=>",endsParent:!0},{scope:"params",begin:"\\(",end:"\\)",excludeBegin:!0,excludeEnd:!0,keywords:b,contains:["self",a,B,e.C_BLOCK_COMMENT_MODE,p,g]}]},{scope:"class",variants:[{beginKeywords:"enum",illegal:/[($"]/},{beginKeywords:"class interface trait",illegal:/[:($"]/}],relevance:0,end:/\{/,excludeEnd:!0,contains:[{beginKeywords:"extends implements"},e.UNDERSCORE_TITLE_MODE]},{beginKeywords:"namespace",relevance:0,end:";",illegal:/[.']/,contains:[e.inherit(e.UNDERSCORE_TITLE_MODE,{scope:"title.class"})]},{beginKeywords:"use",relevance:0,end:";",contains:[{match:/\b(as|const|function)\b/,scope:"keyword"},e.UNDERSCORE_TITLE_MODE]},p,g]}}function ax(e){const t=e.regex,r=/[\p{XID_Start}_]\p{XID_Continue}*/u,n=["and","as","assert","async","await","break","case","class","continue","def","del","elif","else","except","finally","for","from","global","if","import","in","is","lambda","match","nonlocal|10","not","or","pass","raise","return","try","while","with","yield"],o={$pattern:/[A-Za-z]\w+|__\w+__/,keyword:n,built_in:["__import__","abs","all","any","ascii","bin","bool","breakpoint","bytearray","bytes","callable","chr","classmethod","compile","complex","delattr","dict","dir","divmod","enumerate","eval","exec","filter","float","format","frozenset","getattr","globals","hasattr","hash","help","hex","id","input","int","isinstance","issubclass","iter","len","list","locals","map","max","memoryview","min","next","object","oct","open","ord","pow","print","property","range","repr","reversed","round","set","setattr","slice","sorted","staticmethod","str","sum","super","tuple","type","vars","zip"],literal:["__debug__","Ellipsis","False","None","NotImplemented","True"],type:["Any","Callable","Coroutine","Dict","List","Literal","Generic","Optional","Sequence","Set","Tuple","Type","Union"]},l={className:"meta",begin:/^(>>>|\.\.\.) /},u={className:"subst",begin:/\{/,end:/\}/,keywords:o,illegal:/#/},c={begin:/\{\{/,relevance:0},d={className:"string",contains:[e.BACKSLASH_ESCAPE],variants:[{begin:/([uU]|[bB]|[rR]|[bB][rR]|[rR][bB])?'''/,end:/'''/,contains:[e.BACKSLASH_ESCAPE,l],relevance:10},{begin:/([uU]|[bB]|[rR]|[bB][rR]|[rR][bB])?"""/,end:/"""/,contains:[e.BACKSLASH_ESCAPE,l],relevance:10},{begin:/([fF][rR]|[rR][fF]|[fF])'''/,end:/'''/,contains:[e.BACKSLASH_ESCAPE,l,c,u]},{begin:/([fF][rR]|[rR][fF]|[fF])"""/,end:/"""/,contains:[e.BACKSLASH_ESCAPE,l,c,u]},{begin:/([uU]|[rR])'/,end:/'/,relevance:10},{begin:/([uU]|[rR])"/,end:/"/,relevance:10},{begin:/([bB]|[bB][rR]|[rR][bB])'/,end:/'/},{begin:/([bB]|[bB][rR]|[rR][bB])"/,end:/"/},{begin:/([fF][rR]|[rR][fF]|[fF])'/,end:/'/,contains:[e.BACKSLASH_ESCAPE,c,u]},{begin:/([fF][rR]|[rR][fF]|[fF])"/,end:/"/,contains:[e.BACKSLASH_ESCAPE,c,u]},e.APOS_STRING_MODE,e.QUOTE_STRING_MODE]},p="[0-9](_?[0-9])*",g=`(\\b(${p}))?\\.(${p})|\\b(${p})\\.`,v=`\\b|${n.join("|")}`,E={className:"number",relevance:0,variants:[{begin:`(\\b(${p})|(${g}))[eE][+-]?(${p})[jJ]?(?=${v})`},{begin:`(${g})[jJ]?`},{begin:`\\b([1-9](_?[0-9])*|0+(_?0)*)[lLjJ]?(?=${v})`},{begin:`\\b0[bB](_?[01])+[lL]?(?=${v})`},{begin:`\\b0[oO](_?[0-7])+[lL]?(?=${v})`},{begin:`\\b0[xX](_?[0-9a-fA-F])+[lL]?(?=${v})`},{begin:`\\b(${p})[jJ](?=${v})`}]},R={className:"comment",begin:t.lookahead(/# type:/),end:/$/,keywords:o,contains:[{begin:/# type:/},{begin:/#/,end:/\b\B/,endsWithParent:!0}]},_={className:"params",variants:[{className:"",begin:/\(\s*\)/,skip:!0},{begin:/\(/,end:/\)/,excludeBegin:!0,excludeEnd:!0,keywords:o,contains:["self",l,E,d,e.HASH_COMMENT_MODE]}]};return u.contains=[d,E,l],{name:"Python",aliases:["py","gyp","ipython"],unicodeRegex:!0,keywords:o,illegal:/(<\/|->|\?)|=>/,contains:[l,E,{begin:/\bself\b/},{beginKeywords:"if",relevance:0},d,R,e.HASH_COMMENT_MODE,{match:[/\bdef/,/\s+/,r],scope:{1:"keyword",3:"title.function"},contains:[_]},{variants:[{match:[/\bclass/,/\s+/,r,/\s*/,/\(\s*/,r,/\s*\)/]},{match:[/\bclass/,/\s+/,r]}],scope:{1:"keyword",3:"title.class",6:"title.class.inherited"}},{className:"meta",begin:/^[\t ]*@/,end:/(?=#)|$/,contains:[E,_,d]}]}}function sx(e){const t=e.regex,r={},n={begin:/\$\{/,end:/\}/,contains:["self",{begin:/:-/,contains:[r]}]};Object.assign(r,{className:"variable",variants:[{begin:t.concat(/\$[\w\d#@][\w\d_]*/,"(?![\\w\\d])(?![$])")},n]});const i={className:"subst",begin:/\$\(/,end:/\)/,contains:[e.BACKSLASH_ESCAPE]},a={begin:/<<-?\s*(?=\w+)/,starts:{contains:[e.END_SAME_AS_BEGIN({begin:/(\w+)/,end:/(\w+)/,className:"string"})]}},s={className:"string",begin:/"/,end:/"/,contains:[e.BACKSLASH_ESCAPE,r,i]};i.contains.push(s);const o={className:"",begin:/\\"/},l={className:"string",begin:/'/,end:/'/},u={begin:/\$?\(\(/,end:/\)\)/,contains:[{begin:/\d+#[0-9a-f]+/,className:"number"},e.NUMBER_MODE,r]},c=["fish","bash","zsh","sh","csh","ksh","tcsh","dash","scsh"],d=e.SHEBANG({binary:`(${c.join("|")})`,relevance:10}),p={className:"function",begin:/\w[\w\d_]*\s*\(\s*\)\s*\{/,returnBegin:!0,contains:[e.inherit(e.TITLE_MODE,{begin:/\w[\w\d_]*/})],relevance:0},g=["if","then","else","elif","fi","for","while","in","do","done","case","esac","function"],v=["true","false"],E={match:/(\/[a-z._-]+)+/},R=["break","cd","continue","eval","exec","exit","export","getopts","hash","pwd","readonly","return","shift","test","times","trap","umask","unset"],_=["alias","bind","builtin","caller","command","declare","echo","enable","help","let","local","logout","mapfile","printf","read","readarray","source","type","typeset","ulimit","unalias"],b=["autoload","bg","bindkey","bye","cap","chdir","clone","comparguments","compcall","compctl","compdescribe","compfiles","compgroups","compquote","comptags","comptry","compvalues","dirs","disable","disown","echotc","echoti","emulate","fc","fg","float","functions","getcap","getln","history","integer","jobs","kill","limit","log","noglob","popd","print","pushd","pushln","rehash","sched","setcap","setopt","stat","suspend","ttyctl","unfunction","unhash","unlimit","unsetopt","vared","wait","whence","where","which","zcompile","zformat","zftp","zle","zmodload","zparseopts","zprof","zpty","zregexparse","zsocket","zstyle","ztcp"],T=["chcon","chgrp","chown","chmod","cp","dd","df","dir","dircolors","ln","ls","mkdir","mkfifo","mknod","mktemp","mv","realpath","rm","rmdir","shred","sync","touch","truncate","vdir","b2sum","base32","base64","cat","cksum","comm","csplit","cut","expand","fmt","fold","head","join","md5sum","nl","numfmt","od","paste","ptx","pr","sha1sum","sha224sum","sha256sum","sha384sum","sha512sum","shuf","sort","split","sum","tac","tail","tr","tsort","unexpand","uniq","wc","arch","basename","chroot","date","dirname","du","echo","env","expr","factor","groups","hostid","id","link","logname","nice","nohup","nproc","pathchk","pinky","printenv","printf","pwd","readlink","runcon","seq","sleep","stat","stdbuf","stty","tee","test","timeout","tty","uname","unlink","uptime","users","who","whoami","yes"];return{name:"Bash",aliases:["sh"],keywords:{$pattern:/\b[a-z][a-z0-9._-]+\b/,keyword:g,literal:v,built_in:[...R,..._,"set","shopt",...b,...T]},contains:[d,e.SHEBANG(),p,u,e.HASH_COMMENT_MODE,a,E,s,o,l,r]}}function ox(e){return{name:"Plain text",aliases:["text","txt"],disableAutodetect:!0}}function lx(e){const t={className:"attr",begin:/"(\\.|[^\\"\r\n])*"(?=\s*:)/,relevance:1.01},r={match:/[{}[\],:]/,className:"punctuation",relevance:0},n=["true","false","null"],i={scope:"literal",beginKeywords:n.join(" ")};return{name:"JSON",keywords:{literal:n},contains:[t,r,e.QUOTE_STRING_MODE,i,e.C_NUMBER_MODE,e.C_LINE_COMMENT_MODE,e.C_BLOCK_COMMENT_MODE],illegal:"\\S"}}const ux=At(e=>{Er.configure({ignoreUnescapedHTML:!0}),Er.registerLanguage("javascript",nx),Er.registerLanguage("php",ix),Er.registerLanguage("python",ax),Er.registerLanguage("plaintext",ox),Er.registerLanguage("bash",sx),Er.registerLanguage("json",lx),e.hook("page:transition:finish",()=>{mr(()=>{Er.highlightAll()})}),e.hook("app:mounted",()=>{mr(()=>{Er.highlightAll()})})}),cx=function(){function e(){const t=document.documentElement.clientHeight*.01;document.documentElement.style.setProperty("--vh",`${t}px`)}typeof window<"u"&&(window.addEventListener("resize",e),e())},fx=At(e=>{cx(),document.documentElement.classList.add("scroll-smooth")}),dx=At(e=>{}),hx="0.0.0",Kg=Object.prototype.toString;function Xg(e){switch(Kg.call(e)){case"[object Error]":case"[object Exception]":case"[object DOMException]":return!0;default:return gr(e,Error)}}function ia(e,t){return Kg.call(e)===`[object ${t}]`}function Jg(e){return ia(e,"ErrorEvent")}function qh(e){return ia(e,"DOMError")}function px(e){return ia(e,"DOMException")}function En(e){return ia(e,"String")}function Zg(e){return e===null||typeof e!="object"&&typeof e!="function"}function ji(e){return ia(e,"Object")}function Vc(e){return typeof Event<"u"&&gr(e,Event)}function mx(e){return typeof Element<"u"&&gr(e,Element)}function gx(e){return ia(e,"RegExp")}function Kc(e){return Boolean(e&&e.then&&typeof e.then=="function")}function yx(e){return ji(e)&&"nativeEvent"in e&&"preventDefault"in e&&"stopPropagation"in e}function Qg(e){return typeof e=="number"&&e!==e}function gr(e,t){try{return e instanceof t}catch{return!1}}function Us(e){return e&&e.Math==Math?e:void 0}const Wt=typeof globalThis=="object"&&Us(globalThis)||typeof window=="object"&&Us(window)||typeof self=="object"&&Us(self)||typeof global=="object"&&Us(global)||function(){return this}()||{};function d0(){return Wt}function Xc(e,t,r){const n=r||Wt,i=n.__SENTRY__=n.__SENTRY__||{};return i[e]||(i[e]=t())}const ro=d0(),vx=80;function Qa(e,t={}){try{let r=e;const n=5,i=[];let a=0,s=0;const o=" > ",l=o.length;let u;const c=Array.isArray(t)?t:t.keyAttrs,d=!Array.isArray(t)&&t.maxStringLength||vx;for(;r&&a++1&&s+i.length*l+u.length>=d));)i.push(u),s+=u.length,r=r.parentNode;return i.reverse().join(o)}catch{return""}}function bx(e,t){const r=e,n=[];let i,a,s,o,l;if(!r||!r.tagName)return"";n.push(r.tagName.toLowerCase());const u=t&&t.length?t.filter(d=>r.getAttribute(d)).map(d=>[d,r.getAttribute(d)]):null;if(u&&u.length)u.forEach(d=>{n.push(`[${d[0]}="${d[1]}"]`)});else if(r.id&&n.push(`#${r.id}`),i=r.className,i&&En(i))for(a=i.split(/\s+/),l=0;l1&&(l=c.slice(0,-1).join("/"),u=c.pop()),u){const d=u.match(/^\d+/);d&&(u=d[0])}return e2({host:a,pass:i,path:l,projectId:u,port:s,protocol:r,publicKey:n})}function e2(e){return{protocol:e.protocol,publicKey:e.publicKey||"",pass:e.pass||"",host:e.host,port:e.port||"",path:e.path||"",projectId:e.projectId}}function Tx(e){if(!(typeof __SENTRY_DEBUG__>"u"||__SENTRY_DEBUG__))return;const{port:t,projectId:r,protocol:n}=e;if(["protocol","publicKey","host","projectId"].forEach(a=>{if(!e[a])throw new yt(`Invalid Sentry Dsn: ${a} missing`)}),!r.match(/^\d+$/))throw new yt(`Invalid Sentry Dsn: Invalid projectId ${r}`);if(!Ex(n))throw new yt(`Invalid Sentry Dsn: Invalid protocol ${n}`);if(t&&isNaN(parseInt(t,10)))throw new yt(`Invalid Sentry Dsn: Invalid port ${t}`);return!0}function kx(e){const t=typeof e=="string"?xx(e):e2(e);return Tx(t),t}const Ax="Sentry Logger ",Ro=["debug","info","warn","error","log","assert","trace"];function t2(e){if(!("console"in Wt))return e();const t=Wt.console,r={};Ro.forEach(n=>{const i=t[n]&&t[n].__sentry_original__;n in t&&i&&(r[n]=t[n],t[n]=i)});try{return e()}finally{Object.keys(r).forEach(n=>{t[n]=r[n]})}}function Gh(){let e=!1;const t={enable:()=>{e=!0},disable:()=>{e=!1}};return typeof __SENTRY_DEBUG__>"u"||__SENTRY_DEBUG__?Ro.forEach(r=>{t[r]=(...n)=>{e&&t2(()=>{Wt.console[r](`${Ax}[${r}]:`,...n)})}}):Ro.forEach(r=>{t[r]=()=>{}}),t}let Q;typeof __SENTRY_DEBUG__>"u"||__SENTRY_DEBUG__?Q=Xc("logger",Gh):Q=Gh();function Ca(e,t=0){return typeof e!="string"||t===0||e.length<=t?e:`${e.substr(0,t)}...`}function Yh(e,t){if(!Array.isArray(e))return"";const r=[];for(let n=0;nRx(e,n,r))}function bt(e,t,r){if(!(t in e))return;const n=e[t],i=r(n);if(typeof i=="function")try{r2(i,n)}catch{}e[t]=i}function Zc(e,t,r){Object.defineProperty(e,t,{value:r,writable:!0,configurable:!0})}function r2(e,t){const r=t.prototype||{};e.prototype=t.prototype=r,Zc(e,"__sentry_original__",t)}function Qc(e){return e.__sentry_original__}function Ox(e){return Object.keys(e).map(t=>`${encodeURIComponent(t)}=${encodeURIComponent(e[t])}`).join("&")}function n2(e){if(Xg(e))return{message:e.message,name:e.name,stack:e.stack,...Vh(e)};if(Vc(e)){const t={type:e.type,target:Wh(e.target),currentTarget:Wh(e.currentTarget),...Vh(e)};return typeof CustomEvent<"u"&&gr(e,CustomEvent)&&(t.detail=e.detail),t}else return e}function Wh(e){try{return mx(e)?Qa(e):Object.prototype.toString.call(e)}catch{return""}}function Vh(e){if(typeof e=="object"&&e!==null){const t={};for(const r in e)Object.prototype.hasOwnProperty.call(e,r)&&(t[r]=e[r]);return t}else return{}}function Mx(e,t=40){const r=Object.keys(n2(e));if(r.sort(),!r.length)return"[object has no keys]";if(r[0].length>=t)return Ca(r[0],t);for(let n=r.length;n>0;n--){const i=r.slice(0,n).join(", ");if(!(i.length>t))return n===r.length?i:Ca(i,t)}return""}function pn(e){return hu(e,new Map)}function hu(e,t){if(ji(e)){const r=t.get(e);if(r!==void 0)return r;const n={};t.set(e,n);for(const i of Object.keys(e))typeof e[i]<"u"&&(n[i]=hu(e[i],t));return n}if(Array.isArray(e)){const r=t.get(e);if(r!==void 0)return r;const n=[];return t.set(e,n),e.forEach(i=>{n.push(hu(i,t))}),n}return e}function nn(e,t){return e??t()}function no(e){let t,r=e[0],n=1;for(;nr.call(t,...s)),t=void 0)}return r}const Nx=50;function i2(...e){const t=e.sort((r,n)=>r[0]-n[0]).map(r=>r[1]);return(r,n=0)=>{const i=[];for(const a of r.split(` `).slice(n)){if(a.length>1024)continue;const s=a.replace(/\(error: (.*)\)/,"$1");for(const o of t){const l=o(s);if(l){i.push(l);break}}}return Ix(i)}}function Cx(e){return Array.isArray(e)?i2(...e):e}function Ix(e){if(!e.length)return[];let t=e;const r=t[0].function||"",n=t[t.length-1].function||"";return(r.indexOf("captureMessage")!==-1||r.indexOf("captureException")!==-1)&&(t=t.slice(1)),n.indexOf("sentryWrapped")!==-1&&(t=t.slice(0,-1)),t.slice(0,Nx).map(i=>({...i,filename:i.filename||t[0].filename,function:i.function||"?"})).reverse()}const sl="";function xn(e){try{return!e||typeof e!="function"?sl:e.name||sl}catch{return sl}}const Un=d0();function a2(){if(!("fetch"in Un))return!1;try{return new Headers,new Request("http://www.example.com"),new Response,!0}catch{return!1}}function pu(e){return e&&/^function fetch\(\)\s+\{\s+\[native code\]\s+\}$/.test(e.toString())}function Dx(){if(!a2())return!1;if(pu(Un.fetch))return!0;let e=!1;const t=Un.document;if(t&&typeof t.createElement=="function")try{const r=t.createElement("iframe");r.hidden=!0,t.head.appendChild(r),r.contentWindow&&r.contentWindow.fetch&&(e=pu(r.contentWindow.fetch)),t.head.removeChild(r)}catch(r){(typeof __SENTRY_DEBUG__>"u"||__SENTRY_DEBUG__)&&Q.warn("Could not create sandbox iframe for pure fetch check, bailing to window.fetch: ",r)}return e}function Bx(){const e=Un.chrome,t=e&&e.app&&e.app.runtime,r="history"in Un&&!!Un.history.pushState&&!!Un.history.replaceState;return!t&&r}const Ge=d0(),Ia={},Kh={};function Px(e){if(!Kh[e])switch(Kh[e]=!0,e){case"console":Lx();break;case"dom":Yx();break;case"xhr":Hx();break;case"fetch":zx();break;case"history":Ux();break;case"error":Wx();break;case"unhandledrejection":Vx();break;default:(typeof __SENTRY_DEBUG__>"u"||__SENTRY_DEBUG__)&&Q.warn("unknown instrumentation type:",e);return}}function Pt(e,t){Ia[e]=Ia[e]||[],Ia[e].push(t),Px(e)}function rr(e,t){if(!(!e||!Ia[e]))for(const r of Ia[e]||[])try{r(t)}catch(n){(typeof __SENTRY_DEBUG__>"u"||__SENTRY_DEBUG__)&&Q.error(`Error while triggering instrumentation handler. Type: ${e} Name: ${xn(r)} Error:`,n)}}function Lx(){"console"in Ge&&Ro.forEach(function(e){e in Ge.console&&bt(Ge.console,e,function(t){return function(...r){rr("console",{args:r,level:e}),t&&t.apply(Ge.console,r)}})})}function zx(){Dx()&&bt(Ge,"fetch",function(e){return function(...t){const r={args:t,fetchData:{method:$x(t),url:Fx(t)},startTimestamp:Date.now()};return rr("fetch",{...r}),e.apply(Ge,t).then(n=>(rr("fetch",{...r,endTimestamp:Date.now(),response:n}),n),n=>{throw rr("fetch",{...r,endTimestamp:Date.now(),error:n}),n})}})}function $x(e=[]){return"Request"in Ge&&gr(e[0],Request)&&e[0].method?String(e[0].method).toUpperCase():e[1]&&e[1].method?String(e[1].method).toUpperCase():"GET"}function Fx(e=[]){return typeof e[0]=="string"?e[0]:"Request"in Ge&&gr(e[0],Request)?e[0].url:String(e[0])}function Hx(){if(!("XMLHttpRequest"in Ge))return;const e=XMLHttpRequest.prototype;bt(e,"open",function(t){return function(...r){const n=this,i=r[1],a=n.__sentry_xhr__={method:En(r[0])?r[0].toUpperCase():r[0],url:r[1]};En(i)&&a.method==="POST"&&i.match(/sentry_key/)&&(n.__sentry_own_request__=!0);const s=function(){if(n.readyState===4){try{a.status_code=n.status}catch{}rr("xhr",{args:r,endTimestamp:Date.now(),startTimestamp:Date.now(),xhr:n})}};return"onreadystatechange"in n&&typeof n.onreadystatechange=="function"?bt(n,"onreadystatechange",function(o){return function(...l){return s(),o.apply(n,l)}}):n.addEventListener("readystatechange",s),t.apply(n,r)}}),bt(e,"send",function(t){return function(...r){return this.__sentry_xhr__&&r[0]!==void 0&&(this.__sentry_xhr__.body=r[0]),rr("xhr",{args:r,startTimestamp:Date.now(),xhr:this}),t.apply(this,r)}})}let js;function Ux(){if(!Bx())return;const e=Ge.onpopstate;Ge.onpopstate=function(...r){const n=Ge.location.href,i=js;if(js=n,rr("history",{from:i,to:n}),e)try{return e.apply(this,r)}catch{}};function t(r){return function(...n){const i=n.length>2?n[2]:void 0;if(i){const a=js,s=String(i);js=s,rr("history",{from:a,to:s})}return r.apply(this,n)}}bt(Ge.history,"pushState",t),bt(Ge.history,"replaceState",t)}const jx=1e3;let qs,Gs;function qx(e,t){if(!e||e.type!==t.type)return!0;try{if(e.target!==t.target)return!0}catch{}return!1}function Gx(e){if(e.type!=="keypress")return!1;try{const t=e.target;if(!t||!t.tagName)return!0;if(t.tagName==="INPUT"||t.tagName==="TEXTAREA"||t.isContentEditable)return!1}catch{}return!0}function Xh(e,t=!1){return r=>{if(!r||Gs===r||Gx(r))return;const n=r.type==="keypress"?"input":r.type;qs===void 0?(e({event:r,name:n,global:t}),Gs=r):qx(Gs,r)&&(e({event:r,name:n,global:t}),Gs=r),clearTimeout(qs),qs=Ge.setTimeout(()=>{qs=void 0},jx)}}function Yx(){if(!("document"in Ge))return;const e=rr.bind(null,"dom"),t=Xh(e,!0);Ge.document.addEventListener("click",t,!1),Ge.document.addEventListener("keypress",t,!1),["EventTarget","Node"].forEach(r=>{const n=Ge[r]&&Ge[r].prototype;!n||!n.hasOwnProperty||!n.hasOwnProperty("addEventListener")||(bt(n,"addEventListener",function(i){return function(a,s,o){if(a==="click"||a=="keypress")try{const l=this,u=l.__sentry_instrumentation_handlers__=l.__sentry_instrumentation_handlers__||{},c=u[a]=u[a]||{refCount:0};if(!c.handler){const d=Xh(e);c.handler=d,i.call(this,a,d,o)}c.refCount++}catch{}return i.call(this,a,s,o)}}),bt(n,"removeEventListener",function(i){return function(a,s,o){if(a==="click"||a=="keypress")try{const l=this,u=l.__sentry_instrumentation_handlers__||{},c=u[a];c&&(c.refCount--,c.refCount<=0&&(i.call(this,a,c.handler,o),c.handler=void 0,delete u[a]),Object.keys(u).length===0&&delete l.__sentry_instrumentation_handlers__)}catch{}return i.call(this,a,s,o)}}))})}let ol=null;function Wx(){ol=Ge.onerror,Ge.onerror=function(e,t,r,n,i){return rr("error",{column:n,error:i,line:r,msg:e,url:t}),ol?ol.apply(this,arguments):!1}}let ll=null;function Vx(){ll=Ge.onunhandledrejection,Ge.onunhandledrejection=function(e){return rr("unhandledrejection",e),ll?ll.apply(this,arguments):!0}}function Kx(){const e=typeof WeakSet=="function",t=e?new WeakSet:[];function r(i){if(e)return t.has(i)?!0:(t.add(i),!1);for(let a=0;at.getRandomValues(new Uint8Array(1))[0]:()=>Math.random()*16;return([1e7]+1e3+4e3+8e3+1e11).replace(/[018]/g,n=>(n^(r()&15)>>n/4).toString(16))}function s2(e){return e.exception&&e.exception.values?e.exception.values[0]:void 0}function jn(e){const{message:t,event_id:r}=e;if(t)return t;const n=s2(e);return n?n.type&&n.value?`${n.type}: ${n.value}`:n.type||n.value||r||"":r||""}function mu(e,t,r){const n=e.exception=e.exception||{},i=n.values=n.values||[],a=i[0]=i[0]||{};a.value||(a.value=t||""),a.type||(a.type=r||"Error")}function es(e,t){const r=s2(e);if(!r)return;const n={type:"generic",handled:!0},i=r.mechanism;if(r.mechanism={...n,...i,...t},t&&"data"in t){const a={...i&&i.data,...t.data};r.mechanism.data=a}}function Jh(e){if(e&&e.__sentry_captured__)return!0;try{Zc(e,"__sentry_captured__",!0)}catch{}return!1}function o2(e){return Array.isArray(e)?e:[e]}function Xx(){return typeof __SENTRY_BROWSER_BUNDLE__<"u"&&!!__SENTRY_BROWSER_BUNDLE__}function ef(){return!Xx()&&Object.prototype.toString.call(typeof process<"u"?process:0)==="[object process]"}function un(e,t){return e.require(t)}function Jx(e){let t;try{t=un(module,e)}catch{}try{const{cwd:r}=un(module,"process");t=un(module,`${r()}/node_modules/${e}`)}catch{}return t}function en(e,t=1/0,r=1/0){try{return gu("",e,t,r)}catch(n){return{ERROR:`**non-serializable** (${n})`}}}function l2(e,t=3,r=100*1024){const n=en(e,t);return eT(n)>r?l2(e,t-1,r):n}function gu(e,t,r=1/0,n=1/0,i=Kx()){const[a,s]=i;if(t===null||["number","boolean","string"].includes(typeof t)&&!Qg(t))return t;const o=Zx(e,t);if(!o.startsWith("[object "))return o;if(t.__sentry_skip_normalization__)return t;if(r===0)return o.replace("object ","");if(a(t))return"[Circular ~]";const l=t;if(l&&typeof l.toJSON=="function")try{const p=l.toJSON();return gu("",p,r-1,n,i)}catch{}const u=Array.isArray(t)?[]:{};let c=0;const d=n2(t);for(const p in d){if(!Object.prototype.hasOwnProperty.call(d,p))continue;if(c>=n){u[p]="[MaxProperties ~]";break}const g=d[p];u[p]=gu(p,g,r-1,n,i),c++}return s(t),u}function Zx(e,t){try{return e==="domain"&&t&&typeof t=="object"&&t._events?"[Domain]":e==="domainEmitter"?"[DomainEmitter]":typeof global<"u"&&t===global?"[Global]":typeof window<"u"&&t===window?"[Window]":typeof document<"u"&&t===document?"[Document]":yx(t)?"[SyntheticEvent]":typeof t=="number"&&t!==t?"[NaN]":t===void 0?"[undefined]":typeof t=="function"?`[Function: ${xn(t)}]`:typeof t=="symbol"?`[${String(t)}]`:typeof t=="bigint"?`[BigInt: ${String(t)}]`:`[object ${Object.getPrototypeOf(t).constructor.name}]`}catch(r){return`**non-serializable** (${r})`}}function Qx(e){return~-encodeURI(e).split(/%..|./).length}function eT(e){return Qx(JSON.stringify(e))}var Tr;(function(e){e[e.PENDING=0]="PENDING";const r=1;e[e.RESOLVED=r]="RESOLVED";const n=2;e[e.REJECTED=n]="REJECTED"})(Tr||(Tr={}));function Jn(e){return new St(t=>{t(e)})}function Oo(e){return new St((t,r)=>{r(e)})}class St{__init(){this._state=Tr.PENDING}__init2(){this._handlers=[]}constructor(t){St.prototype.__init.call(this),St.prototype.__init2.call(this),St.prototype.__init3.call(this),St.prototype.__init4.call(this),St.prototype.__init5.call(this),St.prototype.__init6.call(this);try{t(this._resolve,this._reject)}catch(r){this._reject(r)}}then(t,r){return new St((n,i)=>{this._handlers.push([!1,a=>{if(!t)n(a);else try{n(t(a))}catch(s){i(s)}},a=>{if(!r)i(a);else try{n(r(a))}catch(s){i(s)}}]),this._executeHandlers()})}catch(t){return this.then(r=>r,t)}finally(t){return new St((r,n)=>{let i,a;return this.then(s=>{a=!1,i=s,t&&t()},s=>{a=!0,i=s,t&&t()}).then(()=>{if(a){n(i);return}r(i)})})}__init3(){this._resolve=t=>{this._setResult(Tr.RESOLVED,t)}}__init4(){this._reject=t=>{this._setResult(Tr.REJECTED,t)}}__init5(){this._setResult=(t,r)=>{if(this._state===Tr.PENDING){if(Kc(r)){r.then(this._resolve,this._reject);return}this._state=t,this._value=r,this._executeHandlers()}}}__init6(){this._executeHandlers=()=>{if(this._state===Tr.PENDING)return;const t=this._handlers.slice();this._handlers=[],t.forEach(r=>{r[0]||(this._state===Tr.RESOLVED&&r[1](this._value),this._state===Tr.REJECTED&&r[2](this._value),r[0]=!0)})}}}function tT(e){const t=[];function r(){return e===void 0||t.lengthn(o)).then(null,()=>n(o).then(null,()=>{})),o}function a(s){return new St((o,l)=>{let u=t.length;if(!u)return o(!0);const c=setTimeout(()=>{s&&s>0&&o(!1)},s);t.forEach(d=>{Jn(d).then(()=>{--u||(clearTimeout(c),o(!0))},l)})})}return{$:t,add:i,drain:a}}function ul(e){if(!e)return{};const t=e.match(/^(([^:/?#]+):)?(\/\/([^/?#]*))?([^?#]*)(\?([^#]*))?(#(.*))?$/);if(!t)return{};const r=t[6]||"",n=t[8]||"";return{host:t[4],path:t[5],protocol:t[2],relative:t[5]+r+n}}const rT=["fatal","error","warning","log","info","debug"];function nT(e){return e==="warn"?"warning":rT.includes(e)?e:"log"}const u2=d0(),yu={nowSeconds:()=>Date.now()/1e3};function iT(){const{performance:e}=u2;if(!e||!e.now)return;const t=Date.now()-e.now();return{now:()=>e.now(),timeOrigin:t}}function aT(){try{return un(module,"perf_hooks").performance}catch{return}}const cl=ef()?aT():iT(),Zh=cl===void 0?yu:{nowSeconds:()=>(cl.timeOrigin+cl.now())/1e3},p0=yu.nowSeconds.bind(yu),m0=Zh.nowSeconds.bind(Zh),ts=m0,rs=(()=>{const{performance:e}=u2;if(!e||!e.now)return;const t=3600*1e3,r=e.now(),n=Date.now(),i=e.timeOrigin?Math.abs(e.timeOrigin+r-n):t,a=i{const i=n[0].type;t(n,i)})}function vu(e,t){return(t||new TextEncoder).encode(e)}function c2(e,t){const[r,n]=e;let i=JSON.stringify(r);function a(s){typeof i=="string"?i=typeof s=="string"?i+s:[vu(i,t),s]:i.push(typeof s=="string"?vu(s,t):s)}for(const s of n){const[o,l]=s;if(a(` ${JSON.stringify(o)} `),typeof l=="string"||l instanceof Uint8Array)a(l);else{let u;try{u=JSON.stringify(l)}catch{u=JSON.stringify(en(l))}a(u)}}return typeof i=="string"?i:uT(i)}function uT(e){const t=e.reduce((i,a)=>i+a.length,0),r=new Uint8Array(t);let n=0;for(const i of e)r.set(i,n),n+=i.length;return r}function cT(e,t){const r=typeof e.data=="string"?vu(e.data,t):e.data;return[pn({type:"attachment",length:r.length,filename:e.filename,content_type:e.contentType,attachment_type:e.attachmentType}),r]}const fT={session:"session",sessions:"session",attachment:"attachment",transaction:"transaction",event:"error",client_report:"internal",user_report:"default",profile:"profile",replay_event:"replay_event",replay_recording:"replay_recording"};function e1(e){return fT[e]}function f2(e){if(!e||!e.sdk)return;const{name:t,version:r}=e.sdk;return{name:t,version:r}}function dT(e,t,r,n){const i=e.sdkProcessingMetadata&&e.sdkProcessingMetadata.dynamicSamplingContext;return{event_id:e.event_id,sent_at:new Date().toISOString(),...t&&{sdk:t},...!!r&&{dsn:Jc(n)},...e.type==="transaction"&&i&&{trace:pn({...i})}}}function hT(e,t,r){const n=[{type:"client_report"},{timestamp:r||p0(),discarded_events:e}];return g0(t?{dsn:t}:{},[n])}const pT=60*1e3;function mT(e,t=Date.now()){const r=parseInt(`${e}`,10);if(!isNaN(r))return r*1e3;const n=Date.parse(`${e}`);return isNaN(n)?pT:n-t}function gT(e,t){return e[t]||e.all||0}function yT(e,t,r=Date.now()){return gT(e,t)>r}function vT(e,{statusCode:t,headers:r},n=Date.now()){const i={...e},a=r&&r["x-sentry-rate-limits"],s=r&&r["retry-after"];if(a)for(const o of a.trim().split(",")){const[l,u]=o.split(":",2),c=parseInt(l,10),d=(isNaN(c)?60:c)*1e3;if(!u)i.all=n+d;else for(const p of u.split(";"))i[p]=n+d}else s?i.all=n+mT(s,n):t===429&&(i.all=n+60*1e3);return i}const bu="baggage",d2="sentry-",bT=/^sentry-/,_T=8192;function wT(e){if(!En(e)&&!Array.isArray(e))return;let t={};if(Array.isArray(e))t=e.reduce((n,i)=>{const a=t1(i);return{...n,...a}},{});else{if(!e)return;t=t1(e)}const r=Object.entries(t).reduce((n,[i,a])=>{if(i.match(bT)){const s=i.slice(d2.length);n[s]=a}return n},{});if(Object.keys(r).length>0)return r}function h2(e){const t=Object.entries(e).reduce((r,[n,i])=>(i&&(r[`${d2}${n}`]=i),r),{});return ST(t)}function t1(e){return e.split(",").map(t=>t.split("=").map(r=>decodeURIComponent(r.trim()))).reduce((t,[r,n])=>(t[r]=n,t),{})}function ST(e){if(Object.keys(e).length!==0)return Object.entries(e).reduce((t,[r,n],i)=>{const a=`${encodeURIComponent(r)}=${encodeURIComponent(n)}`,s=i===0?a:`${t},${a}`;return s.length>_T?((typeof __SENTRY_DEBUG__>"u"||__SENTRY_DEBUG__)&&Q.warn(`Not adding key: ${r} with val: ${n} to baggage header due to exceeding baggage size limits.`),t):s},"")}function ET(e){const t=m0(),r={sid:mn(),init:!0,timestamp:t,started:t,duration:0,status:"ok",errors:0,ignoreDuration:!1,toJSON:()=>TT(r)};return e&&qi(r,e),r}function qi(e,t={}){if(t.user&&(!e.ipAddress&&t.user.ip_address&&(e.ipAddress=t.user.ip_address),!e.did&&!t.did&&(e.did=t.user.id||t.user.email||t.user.username)),e.timestamp=t.timestamp||m0(),t.ignoreDuration&&(e.ignoreDuration=t.ignoreDuration),t.sid&&(e.sid=t.sid.length===32?t.sid:mn()),t.init!==void 0&&(e.init=t.init),!e.did&&t.did&&(e.did=`${t.did}`),typeof t.started=="number"&&(e.started=t.started),e.ignoreDuration)e.duration=void 0;else if(typeof t.duration=="number")e.duration=t.duration;else{const r=e.timestamp-e.started;e.duration=r>=0?r:0}t.release&&(e.release=t.release),t.environment&&(e.environment=t.environment),!e.ipAddress&&t.ipAddress&&(e.ipAddress=t.ipAddress),!e.userAgent&&t.userAgent&&(e.userAgent=t.userAgent),typeof t.errors=="number"&&(e.errors=t.errors),t.status&&(e.status=t.status)}function xT(e,t){let r={};t?r={status:t}:e.status==="ok"&&(r={status:"exited"}),qi(e,r)}function TT(e){return pn({sid:`${e.sid}`,init:e.init,started:new Date(e.started*1e3).toISOString(),timestamp:new Date(e.timestamp*1e3).toISOString(),status:e.status,errors:e.errors,did:typeof e.did=="number"||typeof e.did=="string"?`${e.did}`:void 0,duration:e.duration,attrs:{release:e.release,environment:e.environment,ip_address:e.ipAddress,user_agent:e.userAgent}})}const kT=100;class gn{constructor(){this._notifyingListeners=!1,this._scopeListeners=[],this._eventProcessors=[],this._breadcrumbs=[],this._attachments=[],this._user={},this._tags={},this._extra={},this._contexts={},this._sdkProcessingMetadata={}}static clone(t){const r=new gn;return t&&(r._breadcrumbs=[...t._breadcrumbs],r._tags={...t._tags},r._extra={...t._extra},r._contexts={...t._contexts},r._user=t._user,r._level=t._level,r._span=t._span,r._session=t._session,r._transactionName=t._transactionName,r._fingerprint=t._fingerprint,r._eventProcessors=[...t._eventProcessors],r._requestSession=t._requestSession,r._attachments=[...t._attachments],r._sdkProcessingMetadata={...t._sdkProcessingMetadata}),r}addScopeListener(t){this._scopeListeners.push(t)}addEventProcessor(t){return this._eventProcessors.push(t),this}setUser(t){return this._user=t||{},this._session&&qi(this._session,{user:t}),this._notifyScopeListeners(),this}getUser(){return this._user}getRequestSession(){return this._requestSession}setRequestSession(t){return this._requestSession=t,this}setTags(t){return this._tags={...this._tags,...t},this._notifyScopeListeners(),this}setTag(t,r){return this._tags={...this._tags,[t]:r},this._notifyScopeListeners(),this}setExtras(t){return this._extra={...this._extra,...t},this._notifyScopeListeners(),this}setExtra(t,r){return this._extra={...this._extra,[t]:r},this._notifyScopeListeners(),this}setFingerprint(t){return this._fingerprint=t,this._notifyScopeListeners(),this}setLevel(t){return this._level=t,this._notifyScopeListeners(),this}setTransactionName(t){return this._transactionName=t,this._notifyScopeListeners(),this}setContext(t,r){return r===null?delete this._contexts[t]:this._contexts[t]=r,this._notifyScopeListeners(),this}setSpan(t){return this._span=t,this._notifyScopeListeners(),this}getSpan(){return this._span}getTransaction(){const t=this.getSpan();return t&&t.transaction}setSession(t){return t?this._session=t:delete this._session,this._notifyScopeListeners(),this}getSession(){return this._session}update(t){if(!t)return this;if(typeof t=="function"){const r=t(this);return r instanceof gn?r:this}return t instanceof gn?(this._tags={...this._tags,...t._tags},this._extra={...this._extra,...t._extra},this._contexts={...this._contexts,...t._contexts},t._user&&Object.keys(t._user).length&&(this._user=t._user),t._level&&(this._level=t._level),t._fingerprint&&(this._fingerprint=t._fingerprint),t._requestSession&&(this._requestSession=t._requestSession)):ji(t)&&(t=t,this._tags={...this._tags,...t.tags},this._extra={...this._extra,...t.extra},this._contexts={...this._contexts,...t.contexts},t.user&&(this._user=t.user),t.level&&(this._level=t.level),t.fingerprint&&(this._fingerprint=t.fingerprint),t.requestSession&&(this._requestSession=t.requestSession)),this}clear(){return this._breadcrumbs=[],this._tags={},this._extra={},this._user={},this._contexts={},this._level=void 0,this._transactionName=void 0,this._fingerprint=void 0,this._requestSession=void 0,this._span=void 0,this._session=void 0,this._notifyScopeListeners(),this._attachments=[],this}addBreadcrumb(t,r){const n=typeof r=="number"?r:kT;if(n<=0)return this;const i={timestamp:p0(),...t};return this._breadcrumbs=[...this._breadcrumbs,i].slice(-n),this._notifyScopeListeners(),this}getLastBreadcrumb(){return this._breadcrumbs[this._breadcrumbs.length-1]}clearBreadcrumbs(){return this._breadcrumbs=[],this._notifyScopeListeners(),this}addAttachment(t){return this._attachments.push(t),this}getAttachments(){return this._attachments}clearAttachments(){return this._attachments=[],this}applyToEvent(t,r={}){if(this._extra&&Object.keys(this._extra).length&&(t.extra={...this._extra,...t.extra}),this._tags&&Object.keys(this._tags).length&&(t.tags={...this._tags,...t.tags}),this._user&&Object.keys(this._user).length&&(t.user={...this._user,...t.user}),this._contexts&&Object.keys(this._contexts).length&&(t.contexts={...this._contexts,...t.contexts}),this._level&&(t.level=this._level),this._transactionName&&(t.transaction=this._transactionName),this._span){t.contexts={trace:this._span.getTraceContext(),...t.contexts};const n=this._span.transaction&&this._span.transaction.name;n&&(t.tags={transaction:n,...t.tags})}return this._applyFingerprint(t),t.breadcrumbs=[...t.breadcrumbs||[],...this._breadcrumbs],t.breadcrumbs=t.breadcrumbs.length>0?t.breadcrumbs:void 0,t.sdkProcessingMetadata={...t.sdkProcessingMetadata,...this._sdkProcessingMetadata},this._notifyEventProcessors([...p2(),...this._eventProcessors],t,r)}setSDKProcessingMetadata(t){return this._sdkProcessingMetadata={...this._sdkProcessingMetadata,...t},this}_notifyEventProcessors(t,r,n,i=0){return new St((a,s)=>{const o=t[i];if(r===null||typeof o!="function")a(r);else{const l=o({...r},n);(typeof __SENTRY_DEBUG__>"u"||__SENTRY_DEBUG__)&&o.id&&l===null&&Q.log(`Event processor "${o.id}" dropped event`),Kc(l)?l.then(u=>this._notifyEventProcessors(t,u,n,i+1).then(a)).then(null,s):this._notifyEventProcessors(t,l,n,i+1).then(a).then(null,s)}})}_notifyScopeListeners(){this._notifyingListeners||(this._notifyingListeners=!0,this._scopeListeners.forEach(t=>{t(this)}),this._notifyingListeners=!1)}_applyFingerprint(t){t.fingerprint=t.fingerprint?o2(t.fingerprint):[],this._fingerprint&&(t.fingerprint=t.fingerprint.concat(this._fingerprint)),t.fingerprint&&!t.fingerprint.length&&delete t.fingerprint}}function p2(){return Xc("globalEventProcessors",()=>[])}function tf(e){p2().push(e)}const rf=4,AT=100;class gs{__init(){this._stack=[{}]}constructor(t,r=new gn,n=rf){this._version=n,gs.prototype.__init.call(this),this.getStackTop().scope=r,t&&this.bindClient(t)}isOlderThan(t){return this._version{a.captureException(t,{originalException:t,syntheticException:i,...r,event_id:n},s)}),n}captureMessage(t,r,n){const i=this._lastEventId=n&&n.event_id?n.event_id:mn(),a=new Error(t);return this._withClient((s,o)=>{s.captureMessage(t,r,{originalException:t,syntheticException:a,...n,event_id:i},o)}),i}captureEvent(t,r){const n=r&&r.event_id?r.event_id:mn();return t.type||(this._lastEventId=n),this._withClient((i,a)=>{i.captureEvent(t,{...r,event_id:n},a)}),n}lastEventId(){return this._lastEventId}addBreadcrumb(t,r){const{scope:n,client:i}=this.getStackTop();if(!n||!i)return;const{beforeBreadcrumb:a=null,maxBreadcrumbs:s=AT}=i.getOptions&&i.getOptions()||{};if(s<=0)return;const l={timestamp:p0(),...t},u=a?t2(()=>a(l,r)):l;u!==null&&n.addBreadcrumb(u,s)}setUser(t){const r=this.getScope();r&&r.setUser(t)}setTags(t){const r=this.getScope();r&&r.setTags(t)}setExtras(t){const r=this.getScope();r&&r.setExtras(t)}setTag(t,r){const n=this.getScope();n&&n.setTag(t,r)}setExtra(t,r){const n=this.getScope();n&&n.setExtra(t,r)}setContext(t,r){const n=this.getScope();n&&n.setContext(t,r)}configureScope(t){const{scope:r,client:n}=this.getStackTop();r&&n&&t(r)}run(t){const r=r1(this);try{t(this)}finally{r1(r)}}getIntegration(t){const r=this.getClient();if(!r)return null;try{return r.getIntegration(t)}catch{return(typeof __SENTRY_DEBUG__>"u"||__SENTRY_DEBUG__)&&Q.warn(`Cannot retrieve integration ${t.id} from the current Hub`),null}}startTransaction(t,r){return this._callExtensionMethod("startTransaction",t,r)}traceHeaders(){return this._callExtensionMethod("traceHeaders")}captureSession(t=!1){if(t)return this.endSession();this._sendSessionUpdate()}endSession(){const t=this.getStackTop(),r=t&&t.scope,n=r&&r.getSession();n&&xT(n),this._sendSessionUpdate(),r&&r.setSession()}startSession(t){const{scope:r,client:n}=this.getStackTop(),{release:i,environment:a}=n&&n.getOptions()||{},{userAgent:s}=Wt.navigator||{},o=ET({release:i,environment:a,...r&&{user:r.getUser()},...s&&{userAgent:s},...t});if(r){const l=r.getSession&&r.getSession();l&&l.status==="ok"&&qi(l,{status:"exited"}),this.endSession(),r.setSession(o)}return o}shouldSendDefaultPii(){const t=this.getClient(),r=t&&t.getOptions();return Boolean(r&&r.sendDefaultPii)}_sendSessionUpdate(){const{scope:t,client:r}=this.getStackTop();if(!t)return;const n=t.getSession();n&&r&&r.captureSession&&r.captureSession(n)}_withClient(t){const{scope:r,client:n}=this.getStackTop();n&&t(n,r)}_callExtensionMethod(t,...r){const i=aa().__SENTRY__;if(i&&i.extensions&&typeof i.extensions[t]=="function")return i.extensions[t].apply(this,r);(typeof __SENTRY_DEBUG__>"u"||__SENTRY_DEBUG__)&&Q.warn(`Extension method ${t} couldn't be found, doing nothing.`)}}function aa(){return Wt.__SENTRY__=Wt.__SENTRY__||{extensions:{},hub:void 0},Wt}function r1(e){const t=aa(),r=an(t);return nf(t,e),r}function et(){const e=aa();return(!m2(e)||an(e).isOlderThan(rf))&&nf(e,new gs),ef()?RT(e):an(e)}function RT(e){try{const t=aa().__SENTRY__,r=t&&t.extensions&&t.extensions.domain&&t.extensions.domain.active;if(!r)return an(e);if(!m2(r)||an(r).isOlderThan(rf)){const n=an(e).getStackTop();nf(r,new gs(n.client,gn.clone(n.scope)))}return an(r)}catch{return an(e)}}function m2(e){return!!(e&&e.__SENTRY__&&e.__SENTRY__.hub)}function an(e){return Xc("hub",()=>new gs,e)}function nf(e,t){if(!e)return!1;const r=e.__SENTRY__=e.__SENTRY__||{};return r.hub=t,!0}function OT(e,t){return et().captureException(e,{captureContext:t})}function MT(e){et().withScope(e)}const NT="7";function CT(e){const t=e.protocol?`${e.protocol}:`:"",r=e.port?`:${e.port}`:"";return`${t}//${e.host}${r}${e.path?`/${e.path}`:""}/api/`}function IT(e){return`${CT(e)}${e.projectId}/envelope/`}function DT(e,t){return Ox({sentry_key:e.publicKey,sentry_version:NT,...t&&{sentry_client:`${t.name}/${t.version}`}})}function g2(e,t={}){const r=typeof t=="string"?t:t.tunnel,n=typeof t=="string"||!t._metadata?void 0:t._metadata.sdk;return r||`${IT(e)}?${DT(e,n)}`}function BT(e,t){return t&&(e.sdk=e.sdk||{},e.sdk.name=e.sdk.name||t.name,e.sdk.version=e.sdk.version||t.version,e.sdk.integrations=[...e.sdk.integrations||[],...t.integrations||[]],e.sdk.packages=[...e.sdk.packages||[],...t.packages||[]]),e}function PT(e,t,r,n){const i=f2(r),a={sent_at:new Date().toISOString(),...i&&{sdk:i},...!!n&&{dsn:Jc(t)}},s="aggregates"in e?[{type:"sessions"},e]:[{type:"session"},e];return g0(a,[s])}function LT(e,t,r,n){const i=f2(r),a=e.type&&e.type!=="replay_event"?e.type:"event";BT(e,r&&r.sdk);const s=dT(e,i,n,t);return delete e.sdkProcessingMetadata,g0(s,[[{type:a},e]])}const n1=[];function zT(e){const t={};return e.forEach(r=>{const{name:n}=r,i=t[n];i&&!i.isDefaultInstance&&r.isDefaultInstance||(t[n]=r)}),Object.values(t)}function $T(e){const t=e.defaultIntegrations||[],r=e.integrations;t.forEach(s=>{s.isDefaultInstance=!0});let n;Array.isArray(r)?n=[...t,...r]:typeof r=="function"?n=o2(r(t)):n=t;const i=zT(n),a=i.findIndex(s=>s.name==="Debug");if(a!==-1){const[s]=i.splice(a,1);i.push(s)}return i}function FT(e){const t={};return e.forEach(r=>{y2(r,t)}),t}function y2(e,t){t[e.name]=e,n1.indexOf(e.name)===-1&&(e.setupOnce(tf,et),n1.push(e.name),(typeof __SENTRY_DEBUG__>"u"||__SENTRY_DEBUG__)&&Q.log(`Integration installed: ${e.name}`))}function HT(e,t,r,n){const{normalizeDepth:i=3,normalizeMaxBreadth:a=1e3}=e,s={...t,event_id:t.event_id||r.event_id||mn(),timestamp:t.timestamp||p0()};UT(s,e),jT(s,e.integrations.map(u=>u.name));let o=n;r.captureContext&&(o=gn.clone(o).update(r.captureContext));let l=Jn(s);if(o){if(o.getAttachments){const u=[...r.attachments||[],...o.getAttachments()];u.length&&(r.attachments=u)}l=o.applyToEvent(s,r)}return l.then(u=>typeof i=="number"&&i>0?qT(u,i,a):u)}function UT(e,t){const{environment:r,release:n,dist:i,maxValueLength:a=250}=t;"environment"in e||(e.environment="environment"in t?r:"production"),e.release===void 0&&n!==void 0&&(e.release=n),e.dist===void 0&&i!==void 0&&(e.dist=i),e.message&&(e.message=Ca(e.message,a));const s=e.exception&&e.exception.values&&e.exception.values[0];s&&s.value&&(s.value=Ca(s.value,a));const o=e.request;o&&o.url&&(o.url=Ca(o.url,a))}function jT(e,t){t.length>0&&(e.sdk=e.sdk||{},e.sdk.integrations=[...e.sdk.integrations||[],...t])}function qT(e,t,r){if(!e)return null;const n={...e,...e.breadcrumbs&&{breadcrumbs:e.breadcrumbs.map(i=>({...i,...i.data&&{data:en(i.data,t,r)}}))},...e.user&&{user:en(e.user,t,r)},...e.contexts&&{contexts:en(e.contexts,t,r)},...e.extra&&{extra:en(e.extra,t,r)}};return e.contexts&&e.contexts.trace&&n.contexts&&(n.contexts.trace=e.contexts.trace,e.contexts.trace.data&&(n.contexts.trace.data=en(e.contexts.trace.data,t,r))),e.spans&&(n.spans=e.spans.map(i=>(i.data&&(i.data=en(i.data,t,r)),i))),n}const i1="Not capturing exception because it's already been captured.";class gi{__init(){this._integrations={}}__init2(){this._integrationsInitialized=!1}__init3(){this._numProcessing=0}__init4(){this._outcomes={}}constructor(t){if(gi.prototype.__init.call(this),gi.prototype.__init2.call(this),gi.prototype.__init3.call(this),gi.prototype.__init4.call(this),this._options=t,t.dsn){this._dsn=kx(t.dsn);const r=g2(this._dsn,t);this._transport=t.transport({recordDroppedEvent:this.recordDroppedEvent.bind(this),...t.transportOptions,url:r})}else(typeof __SENTRY_DEBUG__>"u"||__SENTRY_DEBUG__)&&Q.warn("No DSN provided, client will not do anything.")}captureException(t,r,n){if(Jh(t)){(typeof __SENTRY_DEBUG__>"u"||__SENTRY_DEBUG__)&&Q.log(i1);return}let i=r&&r.event_id;return this._process(this.eventFromException(t,r).then(a=>this._captureEvent(a,r,n)).then(a=>{i=a})),i}captureMessage(t,r,n,i){let a=n&&n.event_id;const s=Zg(t)?this.eventFromMessage(String(t),r,n):this.eventFromException(t,n);return this._process(s.then(o=>this._captureEvent(o,n,i)).then(o=>{a=o})),a}captureEvent(t,r,n){if(r&&r.originalException&&Jh(r.originalException)){(typeof __SENTRY_DEBUG__>"u"||__SENTRY_DEBUG__)&&Q.log(i1);return}let i=r&&r.event_id;return this._process(this._captureEvent(t,r,n).then(a=>{i=a})),i}captureSession(t){if(!this._isEnabled()){(typeof __SENTRY_DEBUG__>"u"||__SENTRY_DEBUG__)&&Q.warn("SDK not enabled, will not capture session.");return}typeof t.release!="string"?(typeof __SENTRY_DEBUG__>"u"||__SENTRY_DEBUG__)&&Q.warn("Discarded session because of missing or non-string release"):(this.sendSession(t),qi(t,{init:!1}))}getDsn(){return this._dsn}getOptions(){return this._options}getSdkMetadata(){return this._options._metadata}getTransport(){return this._transport}flush(t){const r=this._transport;return r?this._isClientDoneProcessing(t).then(n=>r.flush(t).then(i=>n&&i)):Jn(!0)}close(t){return this.flush(t).then(r=>(this.getOptions().enabled=!1,r))}setupIntegrations(){this._isEnabled()&&!this._integrationsInitialized&&(this._integrations=FT(this._options.integrations),this._integrationsInitialized=!0)}getIntegrationById(t){return this._integrations[t]}getIntegration(t){try{return this._integrations[t.id]||null}catch{return(typeof __SENTRY_DEBUG__>"u"||__SENTRY_DEBUG__)&&Q.warn(`Cannot retrieve integration ${t.id} from the current Client`),null}}addIntegration(t){y2(t,this._integrations)}sendEvent(t,r={}){if(this._dsn){let n=LT(t,this._dsn,this._options._metadata,this._options.tunnel);for(const i of r.attachments||[])n=lT(n,cT(i,this._options.transportOptions&&this._options.transportOptions.textEncoder));this._sendEnvelope(n)}}sendSession(t){if(this._dsn){const r=PT(t,this._dsn,this._options._metadata,this._options.tunnel);this._sendEnvelope(r)}}recordDroppedEvent(t,r,n){if(this._options.sendClientReports){const i=`${t}:${r}`;(typeof __SENTRY_DEBUG__>"u"||__SENTRY_DEBUG__)&&Q.log(`Adding outcome: "${i}"`),this._outcomes[i]=this._outcomes[i]+1||1}}_updateSessionFromEvent(t,r){let n=!1,i=!1;const a=r.exception&&r.exception.values;if(a){i=!0;for(const l of a){const u=l.mechanism;if(u&&u.handled===!1){n=!0;break}}}const s=t.status==="ok";(s&&t.errors===0||s&&n)&&(qi(t,{...n&&{status:"crashed"},errors:t.errors||Number(i||n)}),this.captureSession(t))}_isClientDoneProcessing(t){return new St(r=>{let n=0;const i=1,a=setInterval(()=>{this._numProcessing==0?(clearInterval(a),r(!0)):(n+=i,t&&n>=t&&(clearInterval(a),r(!1)))},i)})}_isEnabled(){return this.getOptions().enabled!==!1&&this._dsn!==void 0}_prepareEvent(t,r,n){const i=this.getOptions();return HT(i,t,r,n)}_captureEvent(t,r={},n){return this._processEvent(t,r,n).then(i=>i.event_id,i=>{if(typeof __SENTRY_DEBUG__>"u"||__SENTRY_DEBUG__){const a=i;a.logLevel==="log"?Q.log(a.message):Q.warn(a)}})}_processEvent(t,r,n){const i=this.getOptions(),{sampleRate:a}=i;if(!this._isEnabled())return Oo(new yt("SDK not enabled, will not capture event.","log"));const s=b2(t),o=v2(t),l=t.type||"error",u=`before send for type \`${l}\``;return o&&typeof a=="number"&&Math.random()>a?(this.recordDroppedEvent("sample_rate","error",t),Oo(new yt(`Discarding event because it's not included in the random sample (sampling rate = ${a})`,"log"))):this._prepareEvent(t,r,n).then(c=>{if(c===null)throw this.recordDroppedEvent("event_processor",l,t),new yt("An event processor returned `null`, will not send event.","log");if(r.data&&r.data.__sentry__===!0)return c;const p=YT(i,c,r);return GT(p,u)}).then(c=>{if(c===null)throw this.recordDroppedEvent("before_send",t.type||"error",t),new yt(`${u} returned \`null\`, will not send event.`,"log");const d=n&&n.getSession();!s&&d&&this._updateSessionFromEvent(d,c);const p=c.transaction_info;if(s&&p&&c.transaction!==t.transaction){const g="custom";c.transaction_info={...p,source:g,changes:[...p.changes,{source:g,timestamp:c.timestamp,propagations:p.propagations}]}}return this.sendEvent(c,r),c}).then(null,c=>{throw c instanceof yt?c:(this.captureException(c,{data:{__sentry__:!0},originalException:c}),new yt(`Event processing pipeline threw an error, original event will not be sent. Details have been sent as a new event. Reason: ${c}`))})}_process(t){this._numProcessing++,t.then(r=>(this._numProcessing--,r),r=>(this._numProcessing--,r))}_sendEnvelope(t){this._transport&&this._dsn?this._transport.send(t).then(null,r=>{(typeof __SENTRY_DEBUG__>"u"||__SENTRY_DEBUG__)&&Q.error("Error while sending event:",r)}):(typeof __SENTRY_DEBUG__>"u"||__SENTRY_DEBUG__)&&Q.error("Transport disabled")}_clearOutcomes(){const t=this._outcomes;return this._outcomes={},Object.keys(t).map(r=>{const[n,i]=r.split(":");return{reason:n,category:i,quantity:t[r]}})}}function GT(e,t){const r=`${t} must return \`null\` or a valid event.`;if(Kc(e))return e.then(n=>{if(!ji(n)&&n!==null)throw new yt(r);return n},n=>{throw new yt(`${t} rejected with ${n}`)});if(!ji(e)&&e!==null)throw new yt(r);return e}function YT(e,t,r){const{beforeSend:n,beforeSendTransaction:i}=e;return v2(t)&&n?n(t,r):b2(t)&&i?i(t,r):t}function v2(e){return e.type===void 0}function b2(e){return e.type==="transaction"}function WT(e,t){t.debug===!0&&(typeof __SENTRY_DEBUG__>"u"||__SENTRY_DEBUG__?Q.enable():console.warn("[Sentry] Cannot initialize SDK with `debug` option using a non-debug bundle."));const r=et(),n=r.getScope();n&&n.update(t.initialScope);const i=new e(t);r.bindClient(i)}const VT=30;function _2(e,t,r=tT(e.bufferSize||VT)){let n={};const i=s=>r.drain(s);function a(s){const o=[];if(Qh(s,(d,p)=>{const g=e1(p);if(yT(n,g)){const v=a1(d,p);e.recordDroppedEvent("ratelimit_backoff",g,v)}else o.push(d)}),o.length===0)return Jn();const l=g0(s[0],o),u=d=>{Qh(l,(p,g)=>{const v=a1(p,g);e.recordDroppedEvent(d,e1(g),v)})},c=()=>t({body:c2(l,e.textEncoder)}).then(d=>(d.statusCode!==void 0&&(d.statusCode<200||d.statusCode>=300)&&(typeof __SENTRY_DEBUG__>"u"||__SENTRY_DEBUG__)&&Q.warn(`Sentry responded with status code ${d.statusCode} to sent event.`),n=vT(n,d),d),d=>{throw u("network_error"),d});return r.add(c).then(d=>d,d=>{if(d instanceof yt)return(typeof __SENTRY_DEBUG__>"u"||__SENTRY_DEBUG__)&&Q.error("Skipped sending event because buffer is full."),u("queue_overflow"),Jn();throw d})}return{send:a,flush:i}}function a1(e,t){if(!(t!=="event"&&t!=="transaction"))return Array.isArray(e)?e[1]:void 0}const s1="7.30.0";let o1;class ns{constructor(){ns.prototype.__init.call(this)}static __initStatic(){this.id="FunctionToString"}__init(){this.name=ns.id}setupOnce(){o1=Function.prototype.toString,Function.prototype.toString=function(...t){const r=Qc(this)||this;return o1.apply(r,t)}}}ns.__initStatic();const KT=[/^Script error\.?$/,/^Javascript error: Script error\.? on line 0$/];class Ri{static __initStatic(){this.id="InboundFilters"}__init(){this.name=Ri.id}constructor(t={}){this._options=t,Ri.prototype.__init.call(this)}setupOnce(t,r){const n=i=>{const a=r();if(a){const s=a.getIntegration(Ri);if(s){const o=a.getClient(),l=o?o.getOptions():{},u=XT(s._options,l);return JT(i,u)?null:i}}return i};n.id=this.name,t(n)}}Ri.__initStatic();function XT(e={},t={}){return{allowUrls:[...e.allowUrls||[],...t.allowUrls||[]],denyUrls:[...e.denyUrls||[],...t.denyUrls||[]],ignoreErrors:[...e.ignoreErrors||[],...t.ignoreErrors||[],...KT],ignoreInternal:e.ignoreInternal!==void 0?e.ignoreInternal:!0}}function JT(e,t){return t.ignoreInternal&&rk(e)?((typeof __SENTRY_DEBUG__>"u"||__SENTRY_DEBUG__)&&Q.warn(`Event dropped due to being internal Sentry Error. Event: ${jn(e)}`),!0):ZT(e,t.ignoreErrors)?((typeof __SENTRY_DEBUG__>"u"||__SENTRY_DEBUG__)&&Q.warn(`Event dropped due to being matched by \`ignoreErrors\` option. Event: ${jn(e)}`),!0):QT(e,t.denyUrls)?((typeof __SENTRY_DEBUG__>"u"||__SENTRY_DEBUG__)&&Q.warn(`Event dropped due to being matched by \`denyUrls\` option. Event: ${jn(e)}. Url: ${Mo(e)}`),!0):ek(e,t.allowUrls)?!1:((typeof __SENTRY_DEBUG__>"u"||__SENTRY_DEBUG__)&&Q.warn(`Event dropped due to not being matched by \`allowUrls\` option. Event: ${jn(e)}. Url: ${Mo(e)}`),!0)}function ZT(e,t){return!t||!t.length?!1:tk(e).some(r=>h0(r,t))}function QT(e,t){if(!t||!t.length)return!1;const r=Mo(e);return r?h0(r,t):!1}function ek(e,t){if(!t||!t.length)return!0;const r=Mo(e);return r?h0(r,t):!0}function tk(e){if(e.message)return[e.message];if(e.exception)try{const{type:t="",value:r=""}=e.exception.values&&e.exception.values[0]||{};return[`${r}`,`${t}: ${r}`]}catch{return(typeof __SENTRY_DEBUG__>"u"||__SENTRY_DEBUG__)&&Q.error(`Cannot extract message for event ${jn(e)}`),[]}return[]}function rk(e){try{return e.exception.values[0].type==="SentryError"}catch{}return!1}function nk(e=[]){for(let t=e.length-1;t>=0;t--){const r=e[t];if(r&&r.filename!==""&&r.filename!=="[native code]")return r.filename||null}return null}function Mo(e){try{let t;try{t=e.exception.values[0].stacktrace.frames}catch{}return t?nk(t):null}catch{return(typeof __SENTRY_DEBUG__>"u"||__SENTRY_DEBUG__)&&Q.error(`Cannot extract url for event ${jn(e)}`),null}}const Pe=Wt;let _u=0;function w2(){return _u>0}function ik(){_u++,setTimeout(()=>{_u--})}function Gi(e,t={},r){if(typeof e!="function")return e;try{const i=e.__sentry_wrapped__;if(i)return i;if(Qc(e))return e}catch{return e}const n=function(){const i=Array.prototype.slice.call(arguments);try{r&&typeof r=="function"&&r.apply(this,arguments);const a=i.map(s=>Gi(s,t));return e.apply(this,a)}catch(a){throw ik(),MT(s=>{s.addEventProcessor(o=>(t.mechanism&&(mu(o,void 0,void 0),es(o,t.mechanism)),o.extra={...o.extra,arguments:i},o)),OT(a)}),a}};try{for(const i in e)Object.prototype.hasOwnProperty.call(e,i)&&(n[i]=e[i])}catch{}r2(n,e),Zc(e,"__sentry_wrapped__",n);try{Object.getOwnPropertyDescriptor(n,"name").configurable&&Object.defineProperty(n,"name",{get(){return e.name}})}catch{}return n}function S2(e,t){const r=af(e,t),n={type:t&&t.name,value:lk(t)};return r.length&&(n.stacktrace={frames:r}),n.type===void 0&&n.value===""&&(n.value="Unrecoverable error caught"),n}function ak(e,t,r,n){const a=et().getClient(),s=a&&a.getOptions().normalizeDepth,o={exception:{values:[{type:Vc(t)?t.constructor.name:n?"UnhandledRejection":"Error",value:`Non-Error ${n?"promise rejection":"exception"} captured with keys: ${Mx(t)}`}]},extra:{__serialized__:l2(t,s)}};if(r){const l=af(e,r);l.length&&(o.exception.values[0].stacktrace={frames:l})}return o}function fl(e,t){return{exception:{values:[S2(e,t)]}}}function af(e,t){const r=t.stacktrace||t.stack||"",n=ok(t);try{return e(r,n)}catch{}return[]}const sk=/Minified React error #\d+;/i;function ok(e){if(e){if(typeof e.framesToPop=="number")return e.framesToPop;if(sk.test(e.message))return 1}return 0}function lk(e){const t=e&&e.message;return t?t.error&&typeof t.error.message=="string"?t.error.message:t:"No error message"}function uk(e,t,r,n){const i=r&&r.syntheticException||void 0,a=sf(e,t,i,n);return es(a),a.level="error",r&&r.event_id&&(a.event_id=r.event_id),Jn(a)}function ck(e,t,r="info",n,i){const a=n&&n.syntheticException||void 0,s=wu(e,t,a,i);return s.level=r,n&&n.event_id&&(s.event_id=n.event_id),Jn(s)}function sf(e,t,r,n,i){let a;if(Jg(t)&&t.error)return fl(e,t.error);if(qh(t)||px(t)){const s=t;if("stack"in t)a=fl(e,t);else{const o=s.name||(qh(s)?"DOMError":"DOMException"),l=s.message?`${o}: ${s.message}`:o;a=wu(e,l,r,n),mu(a,l)}return"code"in s&&(a.tags={...a.tags,"DOMException.code":`${s.code}`}),a}return Xg(t)?fl(e,t):ji(t)||Vc(t)?(a=ak(e,t,r,i),es(a,{synthetic:!0}),a):(a=wu(e,t,r,n),mu(a,`${t}`,void 0),es(a,{synthetic:!0}),a)}function wu(e,t,r,n){const i={message:t};if(n&&r){const a=af(e,r);a.length&&(i.exception={values:[{value:t,stacktrace:{frames:a}}]})}return i}const Ys=1024,E2="Breadcrumbs";class is{static __initStatic(){this.id=E2}__init(){this.name=is.id}constructor(t){is.prototype.__init.call(this),this.options={console:!0,dom:!0,fetch:!0,history:!0,sentry:!0,xhr:!0,...t}}setupOnce(){this.options.console&&Pt("console",dk),this.options.dom&&Pt("dom",fk(this.options.dom)),this.options.xhr&&Pt("xhr",hk),this.options.fetch&&Pt("fetch",pk),this.options.history&&Pt("history",mk)}addSentryBreadcrumb(t){this.options.sentry&&et().addBreadcrumb({category:`sentry.${t.type==="transaction"?"transaction":"event"}`,event_id:t.event_id,level:t.level,message:jn(t)},{event:t})}}is.__initStatic();function fk(e){function t(r){let n,i=typeof e=="object"?e.serializeAttribute:void 0,a=typeof e=="object"&&typeof e.maxStringLength=="number"?e.maxStringLength:void 0;a&&a>Ys&&((typeof __SENTRY_DEBUG__>"u"||__SENTRY_DEBUG__)&&Q.warn(`\`dom.maxStringLength\` cannot exceed ${Ys}, but a value of ${a} was configured. Sentry will use ${Ys} instead.`),a=Ys),typeof i=="string"&&(i=[i]);try{n=r.event.target?Qa(r.event.target,{keyAttrs:i,maxStringLength:a}):Qa(r.event,{keyAttrs:i,maxStringLength:a})}catch{n=""}n.length!==0&&et().addBreadcrumb({category:`ui.${r.name}`,message:n},{event:r.event,name:r.name,global:r.global})}return t}function dk(e){for(let r=0;r{Pe.document.visibilityState==="hidden"&&this._flushOutcomes()})}eventFromException(t,r){return uk(this._options.stackParser,t,r,this._options.attachStacktrace)}eventFromMessage(t,r="info",n){return ck(this._options.stackParser,t,r,n,this._options.attachStacktrace)}sendEvent(t,r){const n=this.getIntegrationById(E2);no([n,"optionalAccess",i=>i.addSentryBreadcrumb,"optionalCall",i=>i(t)]),super.sendEvent(t,r)}_prepareEvent(t,r,n){return t.platform=t.platform||"javascript",super._prepareEvent(t,r,n)}_flushOutcomes(){const t=this._clearOutcomes();if(t.length===0){(typeof __SENTRY_DEBUG__>"u"||__SENTRY_DEBUG__)&&Q.log("No outcomes to send");return}if(!this._dsn){(typeof __SENTRY_DEBUG__>"u"||__SENTRY_DEBUG__)&&Q.log("No dsn provided, will not send outcomes");return}(typeof __SENTRY_DEBUG__>"u"||__SENTRY_DEBUG__)&&Q.log("Sending outcomes:",t);const r=g2(this._dsn,this._options),n=hT(t,this._options.tunnel&&Jc(this._dsn));try{Object.prototype.toString.call(Pe&&Pe.navigator)==="[object Navigator]"&&typeof Pe.navigator.sendBeacon=="function"&&!this._options.transportOptions?Pe.navigator.sendBeacon.bind(Pe.navigator)(r,c2(n)):this._sendEnvelope(n)}catch(i){(typeof __SENTRY_DEBUG__>"u"||__SENTRY_DEBUG__)&&Q.error(i)}}}let _a;function yk(){if(_a)return _a;if(pu(Pe.fetch))return _a=Pe.fetch.bind(Pe);const e=Pe.document;let t=Pe.fetch;if(e&&typeof e.createElement=="function")try{const r=e.createElement("iframe");r.hidden=!0,e.head.appendChild(r);const n=r.contentWindow;n&&n.fetch&&(t=n.fetch),e.head.removeChild(r)}catch(r){(typeof __SENTRY_DEBUG__>"u"||__SENTRY_DEBUG__)&&Q.warn("Could not create sandbox iframe for pure fetch check, bailing to window.fetch: ",r)}return _a=t.bind(Pe)}function vk(){_a=void 0}function bk(e,t=yk()){function r(n){const i={body:n.body,method:"POST",referrerPolicy:"origin",headers:e.headers,keepalive:n.body.length<=65536,...e.fetchOptions};try{return t(e.url,i).then(a=>({statusCode:a.status,headers:{"x-sentry-rate-limits":a.headers.get("X-Sentry-Rate-Limits"),"retry-after":a.headers.get("Retry-After")}}))}catch(a){return vk(),Oo(a)}}return _2(e,r)}const _k=4;function wk(e){function t(r){return new St((n,i)=>{const a=new XMLHttpRequest;a.onerror=i,a.onreadystatechange=()=>{a.readyState===_k&&n({statusCode:a.status,headers:{"x-sentry-rate-limits":a.getResponseHeader("X-Sentry-Rate-Limits"),"retry-after":a.getResponseHeader("Retry-After")}})},a.open("POST",e.url);for(const s in e.headers)Object.prototype.hasOwnProperty.call(e.headers,s)&&a.setRequestHeader(s,e.headers[s]);a.send(r.body)})}return _2(e,t)}const y0="?",Sk=30,Ek=40,xk=50;function of(e,t,r,n){const i={filename:e,function:t,in_app:!0};return r!==void 0&&(i.lineno=r),n!==void 0&&(i.colno=n),i}const Tk=/^\s*at (?:(.*\).*?|.*?) ?\((?:address at )?)?((?:file|https?|blob|chrome-extension|address|native|eval|webpack||[-a-z]+:|.*bundle|\/)?.*?)(?::(\d+))?(?::(\d+))?\)?\s*$/i,kk=/\((\S*)(?::(\d+))(?::(\d+))\)/,Ak=e=>{const t=Tk.exec(e);if(t){if(t[2]&&t[2].indexOf("eval")===0){const a=kk.exec(t[2]);a&&(t[2]=a[1],t[3]=a[2],t[4]=a[3])}const[n,i]=x2(t[1]||y0,t[2]);return of(i,n,t[3]?+t[3]:void 0,t[4]?+t[4]:void 0)}},Rk=[Sk,Ak],Ok=/^\s*(.*?)(?:\((.*?)\))?(?:^|@)?((?:file|https?|blob|chrome|webpack|resource|moz-extension|safari-extension|safari-web-extension|capacitor)?:\/.*?|\[native code\]|[^@]*(?:bundle|\d+\.js)|\/[\w\-. /=]+)(?::(\d+))?(?::(\d+))?\s*$/i,Mk=/(\S+) line (\d+)(?: > eval line \d+)* > eval/i,Nk=e=>{const t=Ok.exec(e);if(t){if(t[3]&&t[3].indexOf(" > eval")>-1){const a=Mk.exec(t[3]);a&&(t[1]=t[1]||"eval",t[3]=a[1],t[4]=a[2],t[5]="")}let n=t[3],i=t[1]||y0;return[i,n]=x2(i,n),of(n,i,t[4]?+t[4]:void 0,t[5]?+t[5]:void 0)}},Ck=[xk,Nk],Ik=/^\s*at (?:((?:\[object object\])?.+) )?\(?((?:file|ms-appx|https?|webpack|blob):.*?):(\d+)(?::(\d+))?\)?\s*$/i,Dk=e=>{const t=Ik.exec(e);return t?of(t[2],t[1]||y0,+t[3],t[4]?+t[4]:void 0):void 0},Bk=[Ek,Dk],Pk=[Rk,Ck,Bk],Lk=i2(...Pk),x2=(e,t)=>{const r=e.indexOf("safari-extension")!==-1,n=e.indexOf("safari-web-extension")!==-1;return r||n?[e.indexOf("@")!==-1?e.split("@")[0]:y0,r?`safari-extension:${t}`:`safari-web-extension:${t}`]:[e,t]};class yn{static __initStatic(){this.id="GlobalHandlers"}__init(){this.name=yn.id}__init2(){this._installFunc={onerror:zk,onunhandledrejection:$k}}constructor(t){yn.prototype.__init.call(this),yn.prototype.__init2.call(this),this._options={onerror:!0,onunhandledrejection:!0,...t}}setupOnce(){Error.stackTraceLimit=50;const t=this._options;for(const r in t){const n=this._installFunc[r];n&&t[r]&&(Uk(r),n(),this._installFunc[r]=void 0)}}}yn.__initStatic();function zk(){Pt("error",e=>{const[t,r,n]=A2();if(!t.getIntegration(yn))return;const{msg:i,url:a,line:s,column:o,error:l}=e;if(w2()||l&&l.__sentry_own_request__)return;const u=l===void 0&&En(i)?Hk(i,a,s,o):T2(sf(r,l||i,void 0,n,!1),a,s,o);u.level="error",k2(t,l,u,"onerror")})}function $k(){Pt("unhandledrejection",e=>{const[t,r,n]=A2();if(!t.getIntegration(yn))return;let i=e;try{"reason"in e?i=e.reason:"detail"in e&&"reason"in e.detail&&(i=e.detail.reason)}catch{}if(w2()||i&&i.__sentry_own_request__)return!0;const a=Zg(i)?Fk(i):sf(r,i,void 0,n,!0);a.level="error",k2(t,i,a,"onunhandledrejection")})}function Fk(e){return{exception:{values:[{type:"UnhandledRejection",value:`Non-Error promise rejection captured with value: ${String(e)}`}]}}}function Hk(e,t,r,n){const i=/^(?:[Uu]ncaught (?:exception: )?)?(?:((?:Eval|Internal|Range|Reference|Syntax|Type|URI|)Error): )?(.*)$/i;let a=Jg(e)?e.message:e,s="Error";const o=a.match(i);return o&&(s=o[1],a=o[2]),T2({exception:{values:[{type:s,value:a}]}},t,r,n)}function T2(e,t,r,n){const i=e.exception=e.exception||{},a=i.values=i.values||[],s=a[0]=a[0]||{},o=s.stacktrace=s.stacktrace||{},l=o.frames=o.frames||[],u=isNaN(parseInt(n,10))?void 0:n,c=isNaN(parseInt(r,10))?void 0:r,d=En(t)&&t.length>0?t:_x();return l.length===0&&l.push({colno:u,filename:d,function:"?",in_app:!0,lineno:c}),e}function Uk(e){(typeof __SENTRY_DEBUG__>"u"||__SENTRY_DEBUG__)&&Q.log(`Global Handler attached: ${e}`)}function k2(e,t,r,n){es(r,{handled:!1,type:n}),e.captureEvent(r,{originalException:t})}function A2(){const e=et(),t=e.getClient(),r=t&&t.getOptions()||{stackParser:()=>[],attachStacktrace:!1};return[e,r.stackParser,r.attachStacktrace]}const jk=["EventTarget","Window","Node","ApplicationCache","AudioTrackList","ChannelMergerNode","CryptoOperation","EventSource","FileReader","HTMLUnknownElement","IDBDatabase","IDBRequest","IDBTransaction","KeyOperation","MediaController","MessagePort","ModalWindow","Notification","SVGElementInstance","Screen","TextTrack","TextTrackCue","TextTrackList","WebSocket","WebSocketWorker","Worker","XMLHttpRequest","XMLHttpRequestEventTarget","XMLHttpRequestUpload"];class as{static __initStatic(){this.id="TryCatch"}__init(){this.name=as.id}constructor(t){as.prototype.__init.call(this),this._options={XMLHttpRequest:!0,eventTarget:!0,requestAnimationFrame:!0,setInterval:!0,setTimeout:!0,...t}}setupOnce(){this._options.setTimeout&&bt(Pe,"setTimeout",l1),this._options.setInterval&&bt(Pe,"setInterval",l1),this._options.requestAnimationFrame&&bt(Pe,"requestAnimationFrame",qk),this._options.XMLHttpRequest&&"XMLHttpRequest"in Pe&&bt(XMLHttpRequest.prototype,"send",Gk);const t=this._options.eventTarget;t&&(Array.isArray(t)?t:jk).forEach(Yk)}}as.__initStatic();function l1(e){return function(...t){const r=t[0];return t[0]=Gi(r,{mechanism:{data:{function:xn(e)},handled:!0,type:"instrument"}}),e.apply(this,t)}}function qk(e){return function(t){return e.apply(this,[Gi(t,{mechanism:{data:{function:"requestAnimationFrame",handler:xn(e)},handled:!0,type:"instrument"}})])}}function Gk(e){return function(...t){const r=this;return["onload","onerror","onprogress","onreadystatechange"].forEach(i=>{i in r&&typeof r[i]=="function"&&bt(r,i,function(a){const s={mechanism:{data:{function:i,handler:xn(a)},handled:!0,type:"instrument"}},o=Qc(a);return o&&(s.mechanism.data.handler=xn(o)),Gi(a,s)})}),e.apply(this,t)}}function Yk(e){const t=Pe,r=t[e]&&t[e].prototype;!r||!r.hasOwnProperty||!r.hasOwnProperty("addEventListener")||(bt(r,"addEventListener",function(n){return function(i,a,s){try{typeof a.handleEvent=="function"&&(a.handleEvent=Gi(a.handleEvent,{mechanism:{data:{function:"handleEvent",handler:xn(a),target:e},handled:!0,type:"instrument"}}))}catch{}return n.apply(this,[i,Gi(a,{mechanism:{data:{function:"addEventListener",handler:xn(a),target:e},handled:!0,type:"instrument"}}),s])}}),bt(r,"removeEventListener",function(n){return function(i,a,s){const o=a;try{const l=o&&o.__sentry_wrapped__;l&&n.call(this,i,l,s)}catch{}return n.call(this,i,o,s)}}))}const Wk="cause",Vk=5;class Oi{static __initStatic(){this.id="LinkedErrors"}__init(){this.name=Oi.id}constructor(t={}){Oi.prototype.__init.call(this),this._key=t.key||Wk,this._limit=t.limit||Vk}setupOnce(){const t=et().getClient();t&&tf((r,n)=>{const i=et().getIntegration(Oi);return i?Kk(t.getOptions().stackParser,i._key,i._limit,r,n):r})}}Oi.__initStatic();function Kk(e,t,r,n,i){if(!n.exception||!n.exception.values||!i||!gr(i.originalException,Error))return n;const a=R2(e,r,i.originalException,t);return n.exception.values=[...a,...n.exception.values],n}function R2(e,t,r,n,i=[]){if(!gr(r[n],Error)||i.length+1>=t)return i;const a=S2(e,r[n]);return R2(e,t,r[n],n,[a,...i])}class Mi{constructor(){Mi.prototype.__init.call(this)}static __initStatic(){this.id="HttpContext"}__init(){this.name=Mi.id}setupOnce(){tf(t=>{if(et().getIntegration(Mi)){if(!Pe.navigator&&!Pe.location&&!Pe.document)return t;const r=t.request&&t.request.url||Pe.location&&Pe.location.href,{referrer:n}=Pe.document||{},{userAgent:i}=Pe.navigator||{},a={...t.request&&t.request.headers,...n&&{Referer:n},...i&&{"User-Agent":i}},s={...t.request,...r&&{url:r},headers:a};return{...t,request:s}}return t})}}Mi.__initStatic();class Ni{constructor(){Ni.prototype.__init.call(this)}static __initStatic(){this.id="Dedupe"}__init(){this.name=Ni.id}setupOnce(t,r){const n=i=>{const a=r().getIntegration(Ni);if(a){try{if(Xk(i,a._previousEvent))return(typeof __SENTRY_DEBUG__>"u"||__SENTRY_DEBUG__)&&Q.warn("Event dropped due to being a duplicate of previously captured event."),null}catch{return a._previousEvent=i}return a._previousEvent=i}return i};n.id=this.name,t(n)}}Ni.__initStatic();function Xk(e,t){return t?!!(Jk(e,t)||Zk(e,t)):!1}function Jk(e,t){const r=e.message,n=t.message;return!(!r&&!n||r&&!n||!r&&n||r!==n||!M2(e,t)||!O2(e,t))}function Zk(e,t){const r=u1(t),n=u1(e);return!(!r||!n||r.type!==n.type||r.value!==n.value||!M2(e,t)||!O2(e,t))}function O2(e,t){let r=c1(e),n=c1(t);if(!r&&!n)return!0;if(r&&!n||!r&&n||(r=r,n=n,n.length!==r.length))return!1;for(let i=0;i"u"){(typeof __SENTRY_DEBUG__>"u"||__SENTRY_DEBUG__)&&Q.warn("Session tracking in non-browser environment with @sentry/browser is not supported.");return}const e=et();e.captureSession&&(f1(e),Pt("history",({from:t,to:r})=>{t===void 0||t===r||f1(et())}))}function lf(e){const t=et().getClient(),r=e||t&&t.getOptions();return!!r&&("tracesSampleRate"in r||"tracesSampler"in r)}function ys(e){const r=(e||et()).getScope();return r&&r.getTransaction()}function ht(e){return e/1e3}function rA(){Pt("error",d1),Pt("unhandledrejection",d1)}function d1(){const e=ys();if(e){const t="internal_error";(typeof __SENTRY_DEBUG__>"u"||__SENTRY_DEBUG__)&&Q.log(`[Tracing] Transaction: ${t} -> Global error occured`),e.setStatus(t)}}class v0{__init(){this.spans=[]}constructor(t=1e3){v0.prototype.__init.call(this),this._maxlen=t}add(t){this.spans.length>this._maxlen?t.spanRecorder=void 0:this.spans.push(t)}}class kr{__init2(){this.traceId=mn()}__init3(){this.spanId=mn().substring(16)}__init4(){this.startTimestamp=ts()}__init5(){this.tags={}}__init6(){this.data={}}__init7(){this.instrumenter="sentry"}constructor(t){if(kr.prototype.__init2.call(this),kr.prototype.__init3.call(this),kr.prototype.__init4.call(this),kr.prototype.__init5.call(this),kr.prototype.__init6.call(this),kr.prototype.__init7.call(this),!t)return this;t.traceId&&(this.traceId=t.traceId),t.spanId&&(this.spanId=t.spanId),t.parentSpanId&&(this.parentSpanId=t.parentSpanId),"sampled"in t&&(this.sampled=t.sampled),t.op&&(this.op=t.op),t.description&&(this.description=t.description),t.data&&(this.data=t.data),t.tags&&(this.tags=t.tags),t.status&&(this.status=t.status),t.startTimestamp&&(this.startTimestamp=t.startTimestamp),t.endTimestamp&&(this.endTimestamp=t.endTimestamp),t.instrumenter&&(this.instrumenter=t.instrumenter)}startChild(t){const r=new kr({...t,parentSpanId:this.spanId,sampled:this.sampled,traceId:this.traceId});if(r.spanRecorder=this.spanRecorder,r.spanRecorder&&r.spanRecorder.add(r),r.transaction=this.transaction,(typeof __SENTRY_DEBUG__>"u"||__SENTRY_DEBUG__)&&r.transaction){const n=t&&t.op||"< unknown op >",i=r.transaction.name||"< unknown name >",a=r.transaction.spanId,s=`[Tracing] Starting '${n}' span on transaction '${i}' (${a}).`;r.transaction.metadata.spanMetadata[r.spanId]={logMessage:s},Q.log(s)}return r}setTag(t,r){return this.tags={...this.tags,[t]:r},this}setData(t,r){return this.data={...this.data,[t]:r},this}setStatus(t){return this.status=t,this}setHttpStatus(t){this.setTag("http.status_code",String(t));const r=nA(t);return r!=="unknown_error"&&this.setStatus(r),this}isSuccess(){return this.status==="ok"}finish(t){if((typeof __SENTRY_DEBUG__>"u"||__SENTRY_DEBUG__)&&this.transaction&&this.transaction.spanId!==this.spanId){const{logMessage:r}=this.transaction.metadata.spanMetadata[this.spanId];r&&Q.log(r.replace("Starting","Finishing"))}this.endTimestamp=typeof t=="number"?t:ts()}toTraceparent(){let t="";return this.sampled!==void 0&&(t=this.sampled?"-1":"-0"),`${this.traceId}-${this.spanId}${t}`}toContext(){return pn({data:this.data,description:this.description,endTimestamp:this.endTimestamp,op:this.op,parentSpanId:this.parentSpanId,sampled:this.sampled,spanId:this.spanId,startTimestamp:this.startTimestamp,status:this.status,tags:this.tags,traceId:this.traceId})}updateWithContext(t){return this.data=nn(t.data,()=>({})),this.description=t.description,this.endTimestamp=t.endTimestamp,this.op=t.op,this.parentSpanId=t.parentSpanId,this.sampled=t.sampled,this.spanId=nn(t.spanId,()=>this.spanId),this.startTimestamp=nn(t.startTimestamp,()=>this.startTimestamp),this.status=t.status,this.tags=nn(t.tags,()=>({})),this.traceId=nn(t.traceId,()=>this.traceId),this}getTraceContext(){return pn({data:Object.keys(this.data).length>0?this.data:void 0,description:this.description,op:this.op,parent_span_id:this.parentSpanId,span_id:this.spanId,status:this.status,tags:Object.keys(this.tags).length>0?this.tags:void 0,trace_id:this.traceId})}toJSON(){return pn({data:Object.keys(this.data).length>0?this.data:void 0,description:this.description,op:this.op,parent_span_id:this.parentSpanId,span_id:this.spanId,start_timestamp:this.startTimestamp,status:this.status,tags:Object.keys(this.tags).length>0?this.tags:void 0,timestamp:this.endTimestamp,trace_id:this.traceId})}}function nA(e){if(e<400&&e>=100)return"ok";if(e>=400&&e<500)switch(e){case 401:return"unauthenticated";case 403:return"permission_denied";case 404:return"not_found";case 409:return"already_exists";case 413:return"failed_precondition";case 429:return"resource_exhausted";default:return"invalid_argument"}if(e>=500&&e<600)switch(e){case 501:return"unimplemented";case 503:return"unavailable";case 504:return"deadline_exceeded";default:return"internal_error"}return"unknown_error"}class Ci extends kr{__init(){this._measurements={}}__init2(){this._contexts={}}__init3(){this._frozenDynamicSamplingContext=void 0}constructor(t,r){super(t),Ci.prototype.__init.call(this),Ci.prototype.__init2.call(this),Ci.prototype.__init3.call(this),this._hub=r||et(),this._name=t.name||"",this.metadata={source:"custom",...t.metadata,spanMetadata:{},changes:[],propagations:0},this._trimEnd=t.trimEnd,this.transaction=this;const n=this.metadata.dynamicSamplingContext;n&&(this._frozenDynamicSamplingContext={...n})}get name(){return this._name}set name(t){this.setName(t)}setName(t,r="custom"){(t!==this.name||r!==this.metadata.source)&&this.metadata.changes.push({source:this.metadata.source,timestamp:m0(),propagations:this.metadata.propagations}),this._name=t,this.metadata.source=r}initSpanRecorder(t=1e3){this.spanRecorder||(this.spanRecorder=new v0(t)),this.spanRecorder.add(this)}setContext(t,r){r===null?delete this._contexts[t]:this._contexts[t]=r}setMeasurement(t,r,n=""){this._measurements[t]={value:r,unit:n}}setMetadata(t){this.metadata={...this.metadata,...t}}finish(t){if(this.endTimestamp!==void 0)return;if(this.name||((typeof __SENTRY_DEBUG__>"u"||__SENTRY_DEBUG__)&&Q.warn("Transaction has no name, falling back to ``."),this.name=""),super.finish(t),this.sampled!==!0){(typeof __SENTRY_DEBUG__>"u"||__SENTRY_DEBUG__)&&Q.log("[Tracing] Discarding transaction because its trace was not chosen to be sampled.");const s=this._hub.getClient();s&&s.recordDroppedEvent("sample_rate","transaction");return}const r=this.spanRecorder?this.spanRecorder.spans.filter(s=>s!==this&&s.endTimestamp):[];this._trimEnd&&r.length>0&&(this.endTimestamp=r.reduce((s,o)=>s.endTimestamp&&o.endTimestamp?s.endTimestamp>o.endTimestamp?s:o:s).endTimestamp);const n=this.metadata,i={contexts:{...this._contexts,trace:this.getTraceContext()},spans:r,start_timestamp:this.startTimestamp,tags:this.tags,timestamp:this.endTimestamp,transaction:this.name,type:"transaction",sdkProcessingMetadata:{...n,dynamicSamplingContext:this.getDynamicSamplingContext()},...n.source&&{transaction_info:{source:n.source,changes:n.changes,propagations:n.propagations}}};return Object.keys(this._measurements).length>0&&((typeof __SENTRY_DEBUG__>"u"||__SENTRY_DEBUG__)&&Q.log("[Measurements] Adding measurements to transaction",JSON.stringify(this._measurements,void 0,2)),i.measurements=this._measurements),(typeof __SENTRY_DEBUG__>"u"||__SENTRY_DEBUG__)&&Q.log(`[Tracing] Finishing ${this.op} transaction: ${this.name}.`),this._hub.captureEvent(i)}toContext(){const t=super.toContext();return pn({...t,name:this.name,trimEnd:this._trimEnd})}updateWithContext(t){return super.updateWithContext(t),this.name=nn(t.name,()=>""),this._trimEnd=t.trimEnd,this}getDynamicSamplingContext(){if(this._frozenDynamicSamplingContext)return this._frozenDynamicSamplingContext;const t=this._hub||et(),r=t&&t.getClient();if(!r)return{};const{environment:n,release:i}=r.getOptions()||{},{publicKey:a}=r.getDsn()||{},s=this.metadata.sampleRate,o=s!==void 0?s.toString():void 0,l=t.getScope(),{segment:u}=l&&l.getUser()||{},c=this.metadata.source,d=c&&c!=="url"?this.name:void 0;return pn({environment:n,release:i,transaction:d,user_segment:u,public_key:a,trace_id:this.traceId,sample_rate:o})}}const N2=1e3,C2=3e4,I2=5e3;class iA extends v0{constructor(t,r,n,i){super(i),this._pushActivity=t,this._popActivity=r,this.transactionSpanId=n}add(t){t.spanId!==this.transactionSpanId&&(t.finish=r=>{t.endTimestamp=typeof r=="number"?r:ts(),this._popActivity(t.spanId)},t.endTimestamp===void 0&&this._pushActivity(t.spanId)),super.add(t)}}class yi extends Ci{__init(){this.activities={}}__init2(){this._heartbeatCounter=0}__init3(){this._finished=!1}__init4(){this._beforeFinishCallbacks=[]}constructor(t,r,n=N2,i=C2,a=I2,s=!1){super(t,r),this._idleHub=r,this._idleTimeout=n,this._finalTimeout=i,this._heartbeatInterval=a,this._onScope=s,yi.prototype.__init.call(this),yi.prototype.__init2.call(this),yi.prototype.__init3.call(this),yi.prototype.__init4.call(this),s&&(h1(r),(typeof __SENTRY_DEBUG__>"u"||__SENTRY_DEBUG__)&&Q.log(`Setting idle transaction on scope. Span ID: ${this.spanId}`),r.configureScope(o=>o.setSpan(this))),this._startIdleTimeout(),setTimeout(()=>{this._finished||(this.setStatus("deadline_exceeded"),this.finish())},this._finalTimeout)}finish(t=ts()){if(this._finished=!0,this.activities={},this.spanRecorder){(typeof __SENTRY_DEBUG__>"u"||__SENTRY_DEBUG__)&&Q.log("[Tracing] finishing IdleTransaction",new Date(t*1e3).toISOString(),this.op);for(const r of this._beforeFinishCallbacks)r(this,t);this.spanRecorder.spans=this.spanRecorder.spans.filter(r=>{if(r.spanId===this.spanId)return!0;r.endTimestamp||(r.endTimestamp=t,r.setStatus("cancelled"),(typeof __SENTRY_DEBUG__>"u"||__SENTRY_DEBUG__)&&Q.log("[Tracing] cancelling span since transaction ended early",JSON.stringify(r,void 0,2)));const n=r.startTimestamp"u"||__SENTRY_DEBUG__)&&Q.log("[Tracing] discarding Span since it happened after Transaction was finished",JSON.stringify(r,void 0,2)),n}),(typeof __SENTRY_DEBUG__>"u"||__SENTRY_DEBUG__)&&Q.log("[Tracing] flushing IdleTransaction")}else(typeof __SENTRY_DEBUG__>"u"||__SENTRY_DEBUG__)&&Q.log("[Tracing] No active IdleTransaction");return this._onScope&&h1(this._idleHub),super.finish(t)}registerBeforeFinishCallback(t){this._beforeFinishCallbacks.push(t)}initSpanRecorder(t){if(!this.spanRecorder){const r=i=>{this._finished||this._pushActivity(i)},n=i=>{this._finished||this._popActivity(i)};this.spanRecorder=new iA(r,n,this.spanId,t),(typeof __SENTRY_DEBUG__>"u"||__SENTRY_DEBUG__)&&Q.log("Starting heartbeat"),this._pingHeartbeat()}this.spanRecorder.add(this)}_cancelIdleTimeout(){this._idleTimeoutID&&(clearTimeout(this._idleTimeoutID),this._idleTimeoutID=void 0)}_startIdleTimeout(t){this._cancelIdleTimeout(),this._idleTimeoutID=setTimeout(()=>{!this._finished&&Object.keys(this.activities).length===0&&this.finish(t)},this._idleTimeout)}_pushActivity(t){this._cancelIdleTimeout(),(typeof __SENTRY_DEBUG__>"u"||__SENTRY_DEBUG__)&&Q.log(`[Tracing] pushActivity: ${t}`),this.activities[t]=!0,(typeof __SENTRY_DEBUG__>"u"||__SENTRY_DEBUG__)&&Q.log("[Tracing] new activities count",Object.keys(this.activities).length)}_popActivity(t){if(this.activities[t]&&((typeof __SENTRY_DEBUG__>"u"||__SENTRY_DEBUG__)&&Q.log(`[Tracing] popActivity ${t}`),delete this.activities[t],(typeof __SENTRY_DEBUG__>"u"||__SENTRY_DEBUG__)&&Q.log("[Tracing] new activities count",Object.keys(this.activities).length)),Object.keys(this.activities).length===0){const r=ts()+this._idleTimeout/1e3;this._startIdleTimeout(r)}}_beat(){if(this._finished)return;const t=Object.keys(this.activities).join("");t===this._prevHeartbeatString?this._heartbeatCounter++:this._heartbeatCounter=1,this._prevHeartbeatString=t,this._heartbeatCounter>=3?((typeof __SENTRY_DEBUG__>"u"||__SENTRY_DEBUG__)&&Q.log("[Tracing] Transaction finished because of no change for 3 heart beats"),this.setStatus("deadline_exceeded"),this.finish()):this._pingHeartbeat()}_pingHeartbeat(){(typeof __SENTRY_DEBUG__>"u"||__SENTRY_DEBUG__)&&Q.log(`pinging Heartbeat -> current counter: ${this._heartbeatCounter}`),setTimeout(()=>{this._beat()},this._heartbeatInterval)}}function h1(e){const t=e.getScope();t&&t.getTransaction()&&t.setSpan(void 0)}function aA(){const e=this.getScope();if(e){const t=e.getSpan();if(t)return{"sentry-trace":t.toTraceparent()}}return{}}function D2(e,t,r){if(!lf(t))return e.sampled=!1,e;if(e.sampled!==void 0)return e.setMetadata({sampleRate:Number(e.sampled)}),e;let n;return typeof t.tracesSampler=="function"?(n=t.tracesSampler(r),e.setMetadata({sampleRate:Number(n)})):r.parentSampled!==void 0?n=r.parentSampled:(n=t.tracesSampleRate,e.setMetadata({sampleRate:Number(n)})),sA(n)?n?(e.sampled=Math.random()"u"||__SENTRY_DEBUG__)&&Q.log(`[Tracing] starting ${e.op} transaction - ${e.name}`),e):((typeof __SENTRY_DEBUG__>"u"||__SENTRY_DEBUG__)&&Q.log(`[Tracing] Discarding transaction because it's not included in the random sample (sampling rate = ${Number(n)})`),e)):((typeof __SENTRY_DEBUG__>"u"||__SENTRY_DEBUG__)&&Q.log(`[Tracing] Discarding transaction because ${typeof t.tracesSampler=="function"?"tracesSampler returned 0 or false":"a negative sampling decision was inherited or tracesSampleRate is set to 0"}`),e.sampled=!1,e):((typeof __SENTRY_DEBUG__>"u"||__SENTRY_DEBUG__)&&Q.warn("[Tracing] Discarding transaction because of invalid sample rate."),e.sampled=!1,e)}function sA(e){return Qg(e)||!(typeof e=="number"||typeof e=="boolean")?((typeof __SENTRY_DEBUG__>"u"||__SENTRY_DEBUG__)&&Q.warn(`[Tracing] Given sample rate is invalid. Sample rate must be a boolean or a number between 0 and 1. Got ${JSON.stringify(e)} of type ${JSON.stringify(typeof e)}.`),!1):e<0||e>1?((typeof __SENTRY_DEBUG__>"u"||__SENTRY_DEBUG__)&&Q.warn(`[Tracing] Given sample rate is invalid. Sample rate must be between 0 and 1. Got ${e}.`),!1):!0}function oA(e,t){const r=this.getClient(),n=r&&r.getOptions()||{},i=n.instrumenter||"sentry",a=e.instrumenter||"sentry";i!==a&&((typeof __SENTRY_DEBUG__>"u"||__SENTRY_DEBUG__)&&Q.error(`A transaction was started with instrumenter=\`${a}\`, but the SDK is configured with the \`${i}\` instrumenter. The transaction will not be sampled. Please use the ${i} instrumentation to start transactions.`),e.sampled=!1);let s=new Ci(e,this);return s=D2(s,n,{parentSampled:e.parentSampled,transactionContext:e,...t}),s.sampled&&s.initSpanRecorder(n._experiments&&n._experiments.maxSpans),s}function p1(e,t,r,n,i,a,s){const o=e.getClient(),l=o&&o.getOptions()||{};let u=new yi(t,e,r,n,s,i);return u=D2(u,l,{parentSampled:t.parentSampled,transactionContext:t,...a}),u.sampled&&u.initSpanRecorder(l._experiments&&l._experiments.maxSpans),u}function lA(){const e=aa();e.__SENTRY__&&(e.__SENTRY__.extensions=e.__SENTRY__.extensions||{},e.__SENTRY__.extensions.startTransaction||(e.__SENTRY__.extensions.startTransaction=oA),e.__SENTRY__.extensions.traceHeaders||(e.__SENTRY__.extensions.traceHeaders=aA))}function uA(){const e=aa();if(!e.__SENTRY__)return;const t={mongodb(){const n=un(module,"./integrations/node/mongo");return new n.Mongo},mongoose(){const n=un(module,"./integrations/node/mongo");return new n.Mongo({mongoose:!0})},mysql(){const n=un(module,"./integrations/node/mysql");return new n.Mysql},pg(){const n=un(module,"./integrations/node/postgres");return new n.Postgres}},r=Object.keys(t).filter(n=>!!Jx(n)).map(n=>{try{return t[n]()}catch{return}}).filter(n=>n);r.length>0&&(e.__SENTRY__.integrations=[...e.__SENTRY__.integrations||[],...r])}function cA(){lA(),ef()&&uA(),rA()}const $e=Wt;function fA(){$e&&$e.document?$e.document.addEventListener("visibilitychange",()=>{const e=ys();if($e.document.hidden&&e){const t="cancelled";(typeof __SENTRY_DEBUG__>"u"||__SENTRY_DEBUG__)&&Q.log(`[Tracing] Transaction: ${t} -> since tab moved to the background, op: ${e.op}`),e.status||e.setStatus(t),e.setTag("visibilitychange","document.hidden"),e.finish()}}):(typeof __SENTRY_DEBUG__>"u"||__SENTRY_DEBUG__)&&Q.warn("[Tracing] Could not set up background tab detection due to lack of global document")}const uf=(e,t,r)=>{let n,i;return a=>{t.value>=0&&(a||r)&&(i=t.value-(n||0),(i||n===void 0)&&(n=t.value,t.delta=i,e(t)))}},dA=()=>`v3-${Date.now()}-${Math.floor(Math.random()*(9e12-1))+1e12}`,hA=()=>{const e=$e.performance.timing,t=$e.performance.navigation.type,r={entryType:"navigation",startTime:0,type:t==2?"back_forward":t===1?"reload":"navigate"};for(const n in e)n!=="navigationStart"&&n!=="toJSON"&&(r[n]=Math.max(e[n]-e.navigationStart,0));return r},B2=()=>$e.__WEB_VITALS_POLYFILL__?$e.performance&&(performance.getEntriesByType&&performance.getEntriesByType("navigation")[0]||hA()):$e.performance&&performance.getEntriesByType&&performance.getEntriesByType("navigation")[0],P2=()=>{const e=B2();return e&&e.activationStart||0},cf=(e,t)=>{const r=B2();let n="navigate";return r&&($e.document.prerendering||P2()>0?n="prerender":n=r.type.replace(/_/g,"-")),{name:e,value:typeof t>"u"?-1:t,rating:"good",delta:0,entries:[],id:dA(),navigationType:n}},b0=(e,t,r)=>{try{if(PerformanceObserver.supportedEntryTypes.includes(e)){const n=new PerformanceObserver(i=>{t(i.getEntries())});return n.observe(Object.assign({type:e,buffered:!0},r||{})),n}}catch{}},_0=(e,t)=>{const r=n=>{(n.type==="pagehide"||$e.document.visibilityState==="hidden")&&(e(n),t&&(removeEventListener("visibilitychange",r,!0),removeEventListener("pagehide",r,!0)))};addEventListener("visibilitychange",r,!0),addEventListener("pagehide",r,!0)},pA=e=>{const t=cf("CLS",0);let r,n=0,i=[];const a=o=>{o.forEach(l=>{if(!l.hadRecentInput){const u=i[0],c=i[i.length-1];n&&i.length!==0&&l.startTime-c.startTime<1e3&&l.startTime-u.startTime<5e3?(n+=l.value,i.push(l)):(n=l.value,i=[l]),n>t.value&&(t.value=n,t.entries=i,r&&r())}})},s=b0("layout-shift",a);s&&(r=uf(e,t),_0(()=>{a(s.takeRecords()),r(!0)}))};let io=-1;const mA=()=>$e.document.visibilityState==="hidden"&&!$e.document.prerendering?0:1/0,gA=()=>{_0(({timeStamp:e})=>{io=e},!0)},ff=()=>(io<0&&(io=mA(),gA()),{get firstHiddenTime(){return io}}),yA=e=>{const t=ff(),r=cf("FID");let n;const i=o=>{o.startTime{o.forEach(i)},s=b0("first-input",a);n=uf(e,r),s&&_0(()=>{a(s.takeRecords()),s.disconnect()},!0)},m1={},vA=e=>{const t=ff(),r=cf("LCP");let n;const i=s=>{const o=s[s.length-1];if(o){const l=Math.max(o.startTime-P2(),0);l{m1[r.id]||(i(a.takeRecords()),a.disconnect(),m1[r.id]=!0,n(!0))};["keydown","click"].forEach(o=>{addEventListener(o,s,{once:!0,capture:!0})}),_0(s,!0)}};function dl(e){return typeof e=="number"&&isFinite(e)}function Yi(e,{startTimestamp:t,...r}){return t&&e.startTimestamp>t&&(e.startTimestamp=t),e.startChild({startTimestamp:t,...r})}function L2(){return $e&&$e.addEventListener&&$e.performance}let g1=0,Ze={},or,Da;function bA(){const e=L2();e&&rs&&(e.mark&&$e.performance.mark("sentry-tracing-init"),wA(),SA(),EA())}function _A(){b0("longtask",t=>{for(const r of t){const n=ys();if(!n)return;const i=ht(rs+r.startTime),a=ht(r.duration);n.startChild({description:"Main UI thread blocked",op:"ui.long-task",startTimestamp:i,endTimestamp:i+a})}})}function wA(){pA(e=>{const t=e.entries.pop();t&&((typeof __SENTRY_DEBUG__>"u"||__SENTRY_DEBUG__)&&Q.log("[Measurements] Adding CLS"),Ze.cls={value:e.value,unit:""},Da=t)})}function SA(){vA(e=>{const t=e.entries.pop();t&&((typeof __SENTRY_DEBUG__>"u"||__SENTRY_DEBUG__)&&Q.log("[Measurements] Adding LCP"),Ze.lcp={value:e.value,unit:"millisecond"},or=t)})}function EA(){yA(e=>{const t=e.entries.pop();if(!t)return;const r=ht(rs),n=ht(t.startTime);(typeof __SENTRY_DEBUG__>"u"||__SENTRY_DEBUG__)&&Q.log("[Measurements] Adding FID"),Ze.fid={value:e.value,unit:"millisecond"},Ze["mark.fid"]={value:r+n,unit:"second"}})}function xA(e){const t=L2();if(!t||!$e.performance.getEntries||!rs)return;(typeof __SENTRY_DEBUG__>"u"||__SENTRY_DEBUG__)&&Q.log("[Tracing] Adding & adjusting spans using Performance API");const r=ht(rs),n=t.getEntries();let i,a;if(n.slice(g1).forEach(s=>{const o=ht(s.startTime),l=ht(s.duration);if(!(e.op==="navigation"&&r+o"u"||__SENTRY_DEBUG__)&&Q.log("[Measurements] Adding FP"),Ze.fp={value:s.startTime,unit:"millisecond"}),s.name==="first-contentful-paint"&&c&&((typeof __SENTRY_DEBUG__>"u"||__SENTRY_DEBUG__)&&Q.log("[Measurements] Adding FCP"),Ze.fcp={value:s.startTime,unit:"millisecond"});break}case"resource":{const u=s.name.replace($e.location.origin,"");RA(e,s,u,o,l,r);break}}}),g1=Math.max(n.length-1,0),OA(e),e.op==="pageload"){typeof i=="number"&&((typeof __SENTRY_DEBUG__>"u"||__SENTRY_DEBUG__)&&Q.log("[Measurements] Adding TTFB"),Ze.ttfb={value:(i-e.startTimestamp)*1e3,unit:"millisecond"},typeof a=="number"&&a<=i&&(Ze["ttfb.requestTime"]={value:(i-a)*1e3,unit:"millisecond"})),["fcp","fp","lcp"].forEach(o=>{if(!Ze[o]||r>=e.startTimestamp)return;const l=Ze[o].value,u=r+ht(l),c=Math.abs((u-e.startTimestamp)*1e3),d=c-l;(typeof __SENTRY_DEBUG__>"u"||__SENTRY_DEBUG__)&&Q.log(`[Measurements] Normalized ${o} from ${l} to ${c} (${d})`),Ze[o].value=c});const s=Ze["mark.fid"];s&&Ze.fid&&(Yi(e,{description:"first input delay",endTimestamp:s.value+ht(Ze.fid.value),op:"ui.action",startTimestamp:s.value}),delete Ze["mark.fid"]),"fcp"in Ze||delete Ze.cls,Object.keys(Ze).forEach(o=>{e.setMeasurement(o,Ze[o].value,Ze[o].unit)}),MA(e)}or=void 0,Da=void 0,Ze={}}function TA(e,t,r,n,i){const a=i+r,s=a+n;return Yi(e,{description:t.name,endTimestamp:s,op:t.entryType,startTimestamp:a}),a}function kA(e,t,r){["unloadEvent","redirect","domContentLoadedEvent","loadEvent","connect"].forEach(n=>{Ws(e,t,n,r)}),Ws(e,t,"secureConnection",r,"TLS/SSL","connectEnd"),Ws(e,t,"fetch",r,"cache","domainLookupStart"),Ws(e,t,"domainLookup",r,"DNS"),AA(e,t,r)}function Ws(e,t,r,n,i,a){const s=a?t[a]:t[`${r}End`],o=t[`${r}Start`];!o||!s||Yi(e,{op:"browser",description:nn(i,()=>r),startTimestamp:n+ht(o),endTimestamp:n+ht(s)})}function AA(e,t,r){Yi(e,{op:"browser",description:"request",startTimestamp:r+ht(t.requestStart),endTimestamp:r+ht(t.responseEnd)}),Yi(e,{op:"browser",description:"response",startTimestamp:r+ht(t.responseStart),endTimestamp:r+ht(t.responseEnd)})}function RA(e,t,r,n,i,a){if(t.initiatorType==="xmlhttprequest"||t.initiatorType==="fetch")return;const s={};"transferSize"in t&&(s["Transfer Size"]=t.transferSize),"encodedBodySize"in t&&(s["Encoded Body Size"]=t.encodedBodySize),"decodedBodySize"in t&&(s["Decoded Body Size"]=t.decodedBodySize);const o=a+n,l=o+i;Yi(e,{description:r,endTimestamp:l,op:t.initiatorType?`resource.${t.initiatorType}`:"resource.other",startTimestamp:o,data:s})}function OA(e){const t=$e.navigator;if(!t)return;const r=t.connection;r&&(r.effectiveType&&e.setTag("effectiveConnectionType",r.effectiveType),r.type&&e.setTag("connectionType",r.type),dl(r.rtt)&&(Ze["connection.rtt"]={value:r.rtt,unit:"millisecond"})),dl(t.deviceMemory)&&e.setTag("deviceMemory",`${t.deviceMemory} GB`),dl(t.hardwareConcurrency)&&e.setTag("hardwareConcurrency",String(t.hardwareConcurrency))}function MA(e){or&&((typeof __SENTRY_DEBUG__>"u"||__SENTRY_DEBUG__)&&Q.log("[Measurements] Adding LCP Data"),or.element&&e.setTag("lcp.element",Qa(or.element)),or.id&&e.setTag("lcp.id",or.id),or.url&&e.setTag("lcp.url",or.url.trim().slice(0,200)),e.setTag("lcp.size",or.size)),Da&&Da.sources&&((typeof __SENTRY_DEBUG__>"u"||__SENTRY_DEBUG__)&&Q.log("[Measurements] Adding CLS Data"),Da.sources.forEach((t,r)=>e.setTag(`cls.source.${r+1}`,Qa(t.node))))}const Su=["localhost",/^\//],Eu={traceFetch:!0,traceXHR:!0,tracingOrigins:Su,tracePropagationTargets:Su};function NA(e){const{traceFetch:t,traceXHR:r,tracePropagationTargets:n,tracingOrigins:i,shouldCreateSpanForRequest:a}={traceFetch:Eu.traceFetch,traceXHR:Eu.traceXHR,...e},s=typeof a=="function"?a:u=>!0,o=u=>CA(u,n||i),l={};t&&Pt("fetch",u=>{IA(u,s,o,l)}),r&&Pt("xhr",u=>{BA(u,s,o,l)})}function CA(e,t){return h0(e,t||Su)}function IA(e,t,r,n){if(!lf()||!(e.fetchData&&t(e.fetchData.url)))return;if(e.endTimestamp){const a=e.fetchData.__span;if(!a)return;const s=n[a];s&&(e.response?s.setHttpStatus(e.response.status):e.error&&s.setStatus("internal_error"),s.finish(),delete n[a]);return}const i=ys();if(i){const a=i.startChild({data:{...e.fetchData,type:"fetch"},description:`${e.fetchData.method} ${e.fetchData.url}`,op:"http.client"});e.fetchData.__span=a.spanId,n[a.spanId]=a;const s=e.args[0];e.args[1]=e.args[1]||{};const o=e.args[1];r(e.fetchData.url)&&(o.headers=DA(s,i.getDynamicSamplingContext(),a,o),i.metadata.propagations++)}}function DA(e,t,r,n){const i=h2(t),a=r.toTraceparent(),s=typeof Request<"u"&&gr(e,Request)?e.headers:n.headers;if(s)if(typeof Headers<"u"&&gr(s,Headers)){const o=new Headers(s);return o.append("sentry-trace",a),i&&o.append(bu,i),o}else if(Array.isArray(s)){const o=[...s,["sentry-trace",a]];return i&&o.push([bu,i]),o}else{const o="baggage"in s?s.baggage:void 0,l=[];return Array.isArray(o)?l.push(...o):o&&l.push(o),i&&l.push(i),{...s,"sentry-trace":a,baggage:l.length>0?l.join(","):void 0}}else return{"sentry-trace":a,baggage:i}}function BA(e,t,r,n){if(!lf()||e.xhr&&e.xhr.__sentry_own_request__||!(e.xhr&&e.xhr.__sentry_xhr__&&t(e.xhr.__sentry_xhr__.url)))return;const i=e.xhr.__sentry_xhr__;if(e.endTimestamp){const s=e.xhr.__sentry_xhr_span_id__;if(!s)return;const o=n[s];o&&(o.setHttpStatus(i.status_code),o.finish(),delete n[s]);return}const a=ys();if(a){const s=a.startChild({data:{...i.data,type:"xhr",method:i.method,url:i.url},description:`${i.method} ${i.url}`,op:"http.client"});if(e.xhr.__sentry_xhr_span_id__=s.spanId,n[e.xhr.__sentry_xhr_span_id__]=s,e.xhr.setRequestHeader&&r(e.xhr.__sentry_xhr__.url))try{e.xhr.setRequestHeader("sentry-trace",s.toTraceparent());const o=a.getDynamicSamplingContext(),l=h2(o);l&&e.xhr.setRequestHeader(bu,l),a.metadata.propagations++}catch{}}}function PA(e,t=!0,r=!0){if(!$e||!$e.location){(typeof __SENTRY_DEBUG__>"u"||__SENTRY_DEBUG__)&&Q.warn("Could not initialize routing instrumentation due to invalid location");return}let n=$e.location.href,i;t&&(i=e({name:$e.location.pathname,op:"pageload",metadata:{source:"url"}})),r&&Pt("history",({to:a,from:s})=>{if(s===void 0&&n&&n.indexOf(a)!==-1){n=void 0;return}s!==a&&(n=void 0,i&&((typeof __SENTRY_DEBUG__>"u"||__SENTRY_DEBUG__)&&Q.log(`[Tracing] Finishing current transaction with op: ${i.op}`),i.finish()),i=e({name:$e.location.pathname,op:"navigation",metadata:{source:"url"}}))})}const LA="BrowserTracing",zA={idleTimeout:N2,finalTimeout:C2,heartbeatInterval:I2,markBackgroundTransactions:!0,routingInstrumentation:PA,startTransactionOnLocationChange:!0,startTransactionOnPageLoad:!0,_experiments:{enableLongTask:!0,enableInteractions:!1},...Eu};class df{__init(){this.name=LA}constructor(t){df.prototype.__init.call(this),this.options={...zA,...t},t&&!t.tracePropagationTargets&&t.tracingOrigins&&(this.options.tracePropagationTargets=t.tracingOrigins),bA(),no([this,"access",r=>r.options,"access",r=>r._experiments,"optionalAccess",r=>r.enableLongTask])&&_A()}setupOnce(t,r){this._getCurrentHub=r;const{routingInstrumentation:n,startTransactionOnLocationChange:i,startTransactionOnPageLoad:a,markBackgroundTransactions:s,traceFetch:o,traceXHR:l,tracePropagationTargets:u,shouldCreateSpanForRequest:c,_experiments:d}=this.options;n(p=>this._createRouteTransaction(p),a,i),s&&fA(),no([d,"optionalAccess",p=>p.enableInteractions])&&this._registerInteractionListener(),NA({traceFetch:o,traceXHR:l,tracePropagationTargets:u,shouldCreateSpanForRequest:c})}_createRouteTransaction(t){if(!this._getCurrentHub){(typeof __SENTRY_DEBUG__>"u"||__SENTRY_DEBUG__)&&Q.warn(`[Tracing] Did not create ${t.op} transaction because _getCurrentHub is invalid.`);return}const{beforeNavigate:r,idleTimeout:n,finalTimeout:i,heartbeatInterval:a}=this.options,s=t.op==="pageload",o=s?y1("sentry-trace"):null,l=s?y1("baggage"):null,u=o?oT(o):void 0,c=l?wT(l):void 0,d={...t,...u,metadata:{...t.metadata,dynamicSamplingContext:u&&!c?{}:c},trimEnd:!0},p=typeof r=="function"?r(d):d,g=p===void 0?{...d,sampled:!1}:p;g.metadata=g.name!==d.name?{...g.metadata,source:"custom"}:g.metadata,this._latestRouteName=g.name,this._latestRouteSource=no([g,"access",_=>_.metadata,"optionalAccess",_=>_.source]),g.sampled===!1&&(typeof __SENTRY_DEBUG__>"u"||__SENTRY_DEBUG__)&&Q.log(`[Tracing] Will not send ${g.op} transaction because of beforeNavigate.`),(typeof __SENTRY_DEBUG__>"u"||__SENTRY_DEBUG__)&&Q.log(`[Tracing] Starting ${g.op} transaction on scope`);const v=this._getCurrentHub(),{location:E}=$e,R=p1(v,g,n,i,!0,{location:E},a);return R.registerBeforeFinishCallback(_=>{xA(_)}),R}_registerInteractionListener(){let t;const r=()=>{const{idleTimeout:n,finalTimeout:i,heartbeatInterval:a}=this.options,s="ui.action.click";if(t&&(t.finish(),t=void 0),!this._getCurrentHub){(typeof __SENTRY_DEBUG__>"u"||__SENTRY_DEBUG__)&&Q.warn(`[Tracing] Did not create ${s} transaction because _getCurrentHub is invalid.`);return}if(!this._latestRouteName){(typeof __SENTRY_DEBUG__>"u"||__SENTRY_DEBUG__)&&Q.warn(`[Tracing] Did not create ${s} transaction because _latestRouteName is missing.`);return}const o=this._getCurrentHub(),{location:l}=$e,u={name:this._latestRouteName,op:s,trimEnd:!0,metadata:{source:nn(this._latestRouteSource,()=>"url")}};t=p1(o,u,n,i,!0,{location:l},a)};["click"].forEach(n=>{addEventListener(n,r,{once:!1,capture:!0})})}}function y1(e){const t=wx(`meta[name=${e}]`);return t?t.getAttribute("content"):null}(typeof __SENTRY_TRACING__>"u"||__SENTRY_TRACING__)&&cA();const $A=At(e=>{const t=`openai-website@${hx}`,r=e.$config.public.APP_ENV;eA({dsn:e.$config.public.SENTRY_DSN,release:t,environment:r,integrations:[new df],sampleRate:.05,tracesSampleRate:.05})});var FA=Object.defineProperty,HA=(e,t,r)=>t in e?FA(e,t,{enumerable:!0,configurable:!0,writable:!0,value:r}):e[t]=r,Vs=(e,t,r)=>(HA(e,typeof t!="symbol"?t+"":t,r),r);function UA(e){var t=e.default;if(typeof t=="function"){var r=function(){return t.apply(this,arguments)};r.prototype=t.prototype}else r={};return Object.defineProperty(r,"__esModule",{value:!0}),Object.keys(e).forEach(function(n){var i=Object.getOwnPropertyDescriptor(e,n);Object.defineProperty(r,n,i.get?i:{enumerable:!0,get:function(){return e[n]}})}),r}var jA=function(){if(typeof Symbol!="function"||typeof Object.getOwnPropertySymbols!="function")return!1;if(typeof Symbol.iterator=="symbol")return!0;var e={},t=Symbol("test"),r=Object(t);if(typeof t=="string"||Object.prototype.toString.call(t)!=="[object Symbol]"||Object.prototype.toString.call(r)!=="[object Symbol]")return!1;var n=42;e[t]=n;for(t in e)return!1;if(typeof Object.keys=="function"&&Object.keys(e).length!==0||typeof Object.getOwnPropertyNames=="function"&&Object.getOwnPropertyNames(e).length!==0)return!1;var i=Object.getOwnPropertySymbols(e);if(i.length!==1||i[0]!==t||!Object.prototype.propertyIsEnumerable.call(e,t))return!1;if(typeof Object.getOwnPropertyDescriptor=="function"){var a=Object.getOwnPropertyDescriptor(e,t);if(a.value!==n||a.enumerable!==!0)return!1}return!0},v1=typeof Symbol<"u"&&Symbol,qA=jA,GA=function(){return typeof v1!="function"||typeof Symbol!="function"||typeof v1("foo")!="symbol"||typeof Symbol("bar")!="symbol"?!1:qA()},YA="Function.prototype.bind called on incompatible ",hl=Array.prototype.slice,WA=Object.prototype.toString,VA="[object Function]",KA=function(e){var t=this;if(typeof t!="function"||WA.call(t)!==VA)throw new TypeError(YA+t);for(var r=hl.call(arguments,1),n,i=function(){if(this instanceof n){var u=t.apply(this,r.concat(hl.call(arguments)));return Object(u)===u?u:this}else return t.apply(e,r.concat(hl.call(arguments)))},a=Math.max(0,t.length-r.length),s=[],o=0;o"u"?Ce:tn(Uint8Array),Di={"%AggregateError%":typeof AggregateError>"u"?Ce:AggregateError,"%Array%":Array,"%ArrayBuffer%":typeof ArrayBuffer>"u"?Ce:ArrayBuffer,"%ArrayIteratorPrototype%":li?tn([][Symbol.iterator]()):Ce,"%AsyncFromSyncIteratorPrototype%":Ce,"%AsyncFunction%":fi,"%AsyncGenerator%":fi,"%AsyncGeneratorFunction%":fi,"%AsyncIteratorPrototype%":fi,"%Atomics%":typeof Atomics>"u"?Ce:Atomics,"%BigInt%":typeof BigInt>"u"?Ce:BigInt,"%Boolean%":Boolean,"%DataView%":typeof DataView>"u"?Ce:DataView,"%Date%":Date,"%decodeURI%":decodeURI,"%decodeURIComponent%":decodeURIComponent,"%encodeURI%":encodeURI,"%encodeURIComponent%":encodeURIComponent,"%Error%":Error,"%eval%":eval,"%EvalError%":EvalError,"%Float32Array%":typeof Float32Array>"u"?Ce:Float32Array,"%Float64Array%":typeof Float64Array>"u"?Ce:Float64Array,"%FinalizationRegistry%":typeof FinalizationRegistry>"u"?Ce:FinalizationRegistry,"%Function%":z2,"%GeneratorFunction%":fi,"%Int8Array%":typeof Int8Array>"u"?Ce:Int8Array,"%Int16Array%":typeof Int16Array>"u"?Ce:Int16Array,"%Int32Array%":typeof Int32Array>"u"?Ce:Int32Array,"%isFinite%":isFinite,"%isNaN%":isNaN,"%IteratorPrototype%":li?tn(tn([][Symbol.iterator]())):Ce,"%JSON%":typeof JSON=="object"?JSON:Ce,"%Map%":typeof Map>"u"?Ce:Map,"%MapIteratorPrototype%":typeof Map>"u"||!li?Ce:tn(new Map()[Symbol.iterator]()),"%Math%":Math,"%Number%":Number,"%Object%":Object,"%parseFloat%":parseFloat,"%parseInt%":parseInt,"%Promise%":typeof Promise>"u"?Ce:Promise,"%Proxy%":typeof Proxy>"u"?Ce:Proxy,"%RangeError%":RangeError,"%ReferenceError%":ReferenceError,"%Reflect%":typeof Reflect>"u"?Ce:Reflect,"%RegExp%":RegExp,"%Set%":typeof Set>"u"?Ce:Set,"%SetIteratorPrototype%":typeof Set>"u"||!li?Ce:tn(new Set()[Symbol.iterator]()),"%SharedArrayBuffer%":typeof SharedArrayBuffer>"u"?Ce:SharedArrayBuffer,"%String%":String,"%StringIteratorPrototype%":li?tn(""[Symbol.iterator]()):Ce,"%Symbol%":li?Symbol:Ce,"%SyntaxError%":Wi,"%ThrowTypeError%":QA,"%TypedArray%":eR,"%TypeError%":Ii,"%Uint8Array%":typeof Uint8Array>"u"?Ce:Uint8Array,"%Uint8ClampedArray%":typeof Uint8ClampedArray>"u"?Ce:Uint8ClampedArray,"%Uint16Array%":typeof Uint16Array>"u"?Ce:Uint16Array,"%Uint32Array%":typeof Uint32Array>"u"?Ce:Uint32Array,"%URIError%":URIError,"%WeakMap%":typeof WeakMap>"u"?Ce:WeakMap,"%WeakRef%":typeof WeakRef>"u"?Ce:WeakRef,"%WeakSet%":typeof WeakSet>"u"?Ce:WeakSet},tR=function e(t){var r;if(t==="%AsyncFunction%")r=pl("async function () {}");else if(t==="%GeneratorFunction%")r=pl("function* () {}");else if(t==="%AsyncGeneratorFunction%")r=pl("async function* () {}");else if(t==="%AsyncGenerator%"){var n=e("%AsyncGeneratorFunction%");n&&(r=n.prototype)}else if(t==="%AsyncIteratorPrototype%"){var i=e("%AsyncGenerator%");i&&(r=tn(i.prototype))}return Di[t]=r,r},b1={"%ArrayBufferPrototype%":["ArrayBuffer","prototype"],"%ArrayPrototype%":["Array","prototype"],"%ArrayProto_entries%":["Array","prototype","entries"],"%ArrayProto_forEach%":["Array","prototype","forEach"],"%ArrayProto_keys%":["Array","prototype","keys"],"%ArrayProto_values%":["Array","prototype","values"],"%AsyncFunctionPrototype%":["AsyncFunction","prototype"],"%AsyncGenerator%":["AsyncGeneratorFunction","prototype"],"%AsyncGeneratorPrototype%":["AsyncGeneratorFunction","prototype","prototype"],"%BooleanPrototype%":["Boolean","prototype"],"%DataViewPrototype%":["DataView","prototype"],"%DatePrototype%":["Date","prototype"],"%ErrorPrototype%":["Error","prototype"],"%EvalErrorPrototype%":["EvalError","prototype"],"%Float32ArrayPrototype%":["Float32Array","prototype"],"%Float64ArrayPrototype%":["Float64Array","prototype"],"%FunctionPrototype%":["Function","prototype"],"%Generator%":["GeneratorFunction","prototype"],"%GeneratorPrototype%":["GeneratorFunction","prototype","prototype"],"%Int8ArrayPrototype%":["Int8Array","prototype"],"%Int16ArrayPrototype%":["Int16Array","prototype"],"%Int32ArrayPrototype%":["Int32Array","prototype"],"%JSONParse%":["JSON","parse"],"%JSONStringify%":["JSON","stringify"],"%MapPrototype%":["Map","prototype"],"%NumberPrototype%":["Number","prototype"],"%ObjectPrototype%":["Object","prototype"],"%ObjProto_toString%":["Object","prototype","toString"],"%ObjProto_valueOf%":["Object","prototype","valueOf"],"%PromisePrototype%":["Promise","prototype"],"%PromiseProto_then%":["Promise","prototype","then"],"%Promise_all%":["Promise","all"],"%Promise_reject%":["Promise","reject"],"%Promise_resolve%":["Promise","resolve"],"%RangeErrorPrototype%":["RangeError","prototype"],"%ReferenceErrorPrototype%":["ReferenceError","prototype"],"%RegExpPrototype%":["RegExp","prototype"],"%SetPrototype%":["Set","prototype"],"%SharedArrayBufferPrototype%":["SharedArrayBuffer","prototype"],"%StringPrototype%":["String","prototype"],"%SymbolPrototype%":["Symbol","prototype"],"%SyntaxErrorPrototype%":["SyntaxError","prototype"],"%TypedArrayPrototype%":["TypedArray","prototype"],"%TypeErrorPrototype%":["TypeError","prototype"],"%Uint8ArrayPrototype%":["Uint8Array","prototype"],"%Uint8ClampedArrayPrototype%":["Uint8ClampedArray","prototype"],"%Uint16ArrayPrototype%":["Uint16Array","prototype"],"%Uint32ArrayPrototype%":["Uint32Array","prototype"],"%URIErrorPrototype%":["URIError","prototype"],"%WeakMapPrototype%":["WeakMap","prototype"],"%WeakSetPrototype%":["WeakSet","prototype"]},vs=hf,No=ZA,rR=vs.call(Function.call,Array.prototype.concat),nR=vs.call(Function.apply,Array.prototype.splice),_1=vs.call(Function.call,String.prototype.replace),Co=vs.call(Function.call,String.prototype.slice),iR=vs.call(Function.call,RegExp.prototype.exec),aR=/[^%.[\]]+|\[(?:(-?\d+(?:\.\d+)?)|(["'])((?:(?!\2)[^\\]|\\.)*?)\2)\]|(?=(?:\.|\[\])(?:\.|\[\]|%$))/g,sR=/\\(\\)?/g,oR=function(e){var t=Co(e,0,1),r=Co(e,-1);if(t==="%"&&r!=="%")throw new Wi("invalid intrinsic syntax, expected closing `%`");if(r==="%"&&t!=="%")throw new Wi("invalid intrinsic syntax, expected opening `%`");var n=[];return _1(e,aR,function(i,a,s,o){n[n.length]=s?_1(o,sR,"$1"):a||i}),n},lR=function(e,t){var r=e,n;if(No(b1,r)&&(n=b1[r],r="%"+n[0]+"%"),No(Di,r)){var i=Di[r];if(i===fi&&(i=tR(r)),typeof i>"u"&&!t)throw new Ii("intrinsic "+e+" exists, but is not available. Please file an issue!");return{alias:n,name:r,value:i}}throw new Wi("intrinsic "+e+" does not exist!")},pf=function(e,t){if(typeof e!="string"||e.length===0)throw new Ii("intrinsic name must be a non-empty string");if(arguments.length>1&&typeof t!="boolean")throw new Ii('"allowMissing" argument must be a boolean');if(iR(/^%?[^%]*%?$/,e)===null)throw new Wi("`%` may not be present anywhere but at the beginning and end of the intrinsic name");var r=oR(e),n=r.length>0?r[0]:"",i=lR("%"+n+"%",t),a=i.name,s=i.value,o=!1,l=i.alias;l&&(n=l[0],nR(r,rR([0,1],l)));for(var u=1,c=!0;u=r.length){var v=Wn(s,d);c=!!v,c&&"get"in v&&!("originalValue"in v.get)?s=v.get:s=s[d]}else c=No(s,d),s=s[d];c&&!o&&(Di[a]=s)}}return s},$2={exports:{}};(function(e){var t=hf,r=pf,n=r("%Function.prototype.apply%"),i=r("%Function.prototype.call%"),a=r("%Reflect.apply%",!0)||t.call(i,n),s=r("%Object.getOwnPropertyDescriptor%",!0),o=r("%Object.defineProperty%",!0),l=r("%Math.max%");if(o)try{o({},"a",{value:1})}catch{o=null}e.exports=function(c){var d=a(t,i,arguments);if(s&&o){var p=s(d,"length");p.configurable&&o(d,"length",{value:1+l(0,c.length-(arguments.length-1))})}return d};var u=function(){return a(t,n,arguments)};o?o(e.exports,"apply",{value:u}):e.exports.apply=u})($2);var F2=pf,H2=$2.exports,uR=H2(F2("String.prototype.indexOf")),cR=function(e,t){var r=F2(e,!!t);return typeof r=="function"&&uR(e,".prototype.")>-1?H2(r):r};const fR={},dR=Object.freeze(Object.defineProperty({__proto__:null,default:fR},Symbol.toStringTag,{value:"Module"})),hR=UA(dR);var mf=typeof Map=="function"&&Map.prototype,gl=Object.getOwnPropertyDescriptor&&mf?Object.getOwnPropertyDescriptor(Map.prototype,"size"):null,Io=mf&&gl&&typeof gl.get=="function"?gl.get:null,pR=mf&&Map.prototype.forEach,gf=typeof Set=="function"&&Set.prototype,yl=Object.getOwnPropertyDescriptor&&gf?Object.getOwnPropertyDescriptor(Set.prototype,"size"):null,Do=gf&&yl&&typeof yl.get=="function"?yl.get:null,mR=gf&&Set.prototype.forEach,gR=typeof WeakMap=="function"&&WeakMap.prototype,Ba=gR?WeakMap.prototype.has:null,yR=typeof WeakSet=="function"&&WeakSet.prototype,Pa=yR?WeakSet.prototype.has:null,vR=typeof WeakRef=="function"&&WeakRef.prototype,w1=vR?WeakRef.prototype.deref:null,bR=Boolean.prototype.valueOf,_R=Object.prototype.toString,wR=Function.prototype.toString,SR=String.prototype.match,yf=String.prototype.slice,cn=String.prototype.replace,ER=String.prototype.toUpperCase,S1=String.prototype.toLowerCase,U2=RegExp.prototype.test,E1=Array.prototype.concat,cr=Array.prototype.join,xR=Array.prototype.slice,x1=Math.floor,xu=typeof BigInt=="function"?BigInt.prototype.valueOf:null,vl=Object.getOwnPropertySymbols,Tu=typeof Symbol=="function"&&typeof Symbol.iterator=="symbol"?Symbol.prototype.toString:null,Vi=typeof Symbol=="function"&&typeof Symbol.iterator=="object",_t=typeof Symbol=="function"&&Symbol.toStringTag&&(typeof Symbol.toStringTag===Vi||"symbol")?Symbol.toStringTag:null,j2=Object.prototype.propertyIsEnumerable,T1=(typeof Reflect=="function"?Reflect.getPrototypeOf:Object.getPrototypeOf)||([].__proto__===Array.prototype?function(e){return e.__proto__}:null);function k1(e,t){if(e===1/0||e===-1/0||e!==e||e&&e>-1e3&&e<1e3||U2.call(/e/,t))return t;var r=/[0-9](?=(?:[0-9]{3})+(?![0-9]))/g;if(typeof e=="number"){var n=e<0?-x1(-e):x1(e);if(n!==e){var i=String(n),a=yf.call(t,i.length+1);return cn.call(i,r,"$&_")+"."+cn.call(cn.call(a,/([0-9]{3})/g,"$&_"),/_$/,"")}}return cn.call(t,r,"$&_")}var ku=hR,A1=ku.custom,R1=G2(A1)?A1:null,TR=function e(t,r,n,i){var a=r||{};if(rn(a,"quoteStyle")&&a.quoteStyle!=="single"&&a.quoteStyle!=="double")throw new TypeError('option "quoteStyle" must be "single" or "double"');if(rn(a,"maxStringLength")&&(typeof a.maxStringLength=="number"?a.maxStringLength<0&&a.maxStringLength!==1/0:a.maxStringLength!==null))throw new TypeError('option "maxStringLength", if provided, must be a positive integer, Infinity, or `null`');var s=rn(a,"customInspect")?a.customInspect:!0;if(typeof s!="boolean"&&s!=="symbol")throw new TypeError("option \"customInspect\", if provided, must be `true`, `false`, or `'symbol'`");if(rn(a,"indent")&&a.indent!==null&&a.indent!==" "&&!(parseInt(a.indent,10)===a.indent&&a.indent>0))throw new TypeError('option "indent" must be "\\t", an integer > 0, or `null`');if(rn(a,"numericSeparator")&&typeof a.numericSeparator!="boolean")throw new TypeError('option "numericSeparator", if provided, must be `true` or `false`');var o=a.numericSeparator;if(typeof t>"u")return"undefined";if(t===null)return"null";if(typeof t=="boolean")return t?"true":"false";if(typeof t=="string")return W2(t,a);if(typeof t=="number"){if(t===0)return 1/0/t>0?"0":"-0";var l=String(t);return o?k1(t,l):l}if(typeof t=="bigint"){var u=String(t)+"n";return o?k1(t,u):u}var c=typeof a.depth>"u"?5:a.depth;if(typeof n>"u"&&(n=0),n>=c&&c>0&&typeof t=="object")return Au(t)?"[Array]":"[Object]";var d=jR(a,n);if(typeof i>"u")i=[];else if(Y2(i,t)>=0)return"[Circular]";function p(oe,W,Ee){if(W&&(i=xR.call(i),i.push(W)),Ee){var I={depth:a.depth};return rn(a,"quoteStyle")&&(I.quoteStyle=a.quoteStyle),e(oe,I,n+1,i)}return e(oe,a,n+1,i)}if(typeof t=="function"&&!O1(t)){var g=DR(t),v=Ks(t,p);return"[Function"+(g?": "+g:" (anonymous)")+"]"+(v.length>0?" { "+cr.call(v,", ")+" }":"")}if(G2(t)){var E=Vi?cn.call(String(t),/^(Symbol\(.*\))_[^)]*$/,"$1"):Tu.call(t);return typeof t=="object"&&!Vi?pa(E):E}if(FR(t)){for(var R="<"+S1.call(String(t.nodeName)),_=t.attributes||[],b=0;b<_.length;b++)R+=" "+_[b].name+"="+q2(kR(_[b].value),"double",a);return R+=">",t.childNodes&&t.childNodes.length&&(R+="..."),R+="",R}if(Au(t)){if(t.length===0)return"[]";var T=Ks(t,p);return d&&!UR(T)?"["+Ru(T,d)+"]":"[ "+cr.call(T,", ")+" ]"}if(RR(t)){var O=Ks(t,p);return!("cause"in Error.prototype)&&"cause"in t&&!j2.call(t,"cause")?"{ ["+String(t)+"] "+cr.call(E1.call("[cause]: "+p(t.cause),O),", ")+" }":O.length===0?"["+String(t)+"]":"{ ["+String(t)+"] "+cr.call(O,", ")+" }"}if(typeof t=="object"&&s){if(R1&&typeof t[R1]=="function"&&ku)return ku(t,{depth:c-n});if(s!=="symbol"&&typeof t.inspect=="function")return t.inspect()}if(BR(t)){var N=[];return pR.call(t,function(oe,W){N.push(p(W,t,!0)+" => "+p(oe,t))}),M1("Map",Io.call(t),N,d)}if(zR(t)){var B=[];return mR.call(t,function(oe){B.push(p(oe,t))}),M1("Set",Do.call(t),B,d)}if(PR(t))return bl("WeakMap");if($R(t))return bl("WeakSet");if(LR(t))return bl("WeakRef");if(MR(t))return pa(p(Number(t)));if(CR(t))return pa(p(xu.call(t)));if(NR(t))return pa(bR.call(t));if(OR(t))return pa(p(String(t)));if(!AR(t)&&!O1(t)){var F=Ks(t,p),P=T1?T1(t)===Object.prototype:t instanceof Object||t.constructor===Object,q=t instanceof Object?"":"null prototype",re=!P&&_t&&Object(t)===t&&_t in t?yf.call(On(t),8,-1):q?"Object":"",ie=P||typeof t.constructor!="function"?"":t.constructor.name?t.constructor.name+" ":"",j=ie+(re||q?"["+cr.call(E1.call([],re||[],q||[]),": ")+"] ":"");return F.length===0?j+"{}":d?j+"{"+Ru(F,d)+"}":j+"{ "+cr.call(F,", ")+" }"}return String(t)};function q2(e,t,r){var n=(r.quoteStyle||t)==="double"?'"':"'";return n+e+n}function kR(e){return cn.call(String(e),/"/g,""")}function Au(e){return On(e)==="[object Array]"&&(!_t||!(typeof e=="object"&&_t in e))}function AR(e){return On(e)==="[object Date]"&&(!_t||!(typeof e=="object"&&_t in e))}function O1(e){return On(e)==="[object RegExp]"&&(!_t||!(typeof e=="object"&&_t in e))}function RR(e){return On(e)==="[object Error]"&&(!_t||!(typeof e=="object"&&_t in e))}function OR(e){return On(e)==="[object String]"&&(!_t||!(typeof e=="object"&&_t in e))}function MR(e){return On(e)==="[object Number]"&&(!_t||!(typeof e=="object"&&_t in e))}function NR(e){return On(e)==="[object Boolean]"&&(!_t||!(typeof e=="object"&&_t in e))}function G2(e){if(Vi)return e&&typeof e=="object"&&e instanceof Symbol;if(typeof e=="symbol")return!0;if(!e||typeof e!="object"||!Tu)return!1;try{return Tu.call(e),!0}catch{}return!1}function CR(e){if(!e||typeof e!="object"||!xu)return!1;try{return xu.call(e),!0}catch{}return!1}var IR=Object.prototype.hasOwnProperty||function(e){return e in this};function rn(e,t){return IR.call(e,t)}function On(e){return _R.call(e)}function DR(e){if(e.name)return e.name;var t=SR.call(wR.call(e),/^function\s*([\w$]+)/);return t?t[1]:null}function Y2(e,t){if(e.indexOf)return e.indexOf(t);for(var r=0,n=e.length;rt.maxStringLength){var r=e.length-t.maxStringLength,n="... "+r+" more character"+(r>1?"s":"");return W2(yf.call(e,0,t.maxStringLength),t)+n}var i=cn.call(cn.call(e,/(['\\])/g,"\\$1"),/[\x00-\x1f]/g,HR);return q2(i,"single",t)}function HR(e){var t=e.charCodeAt(0),r={8:"b",9:"t",10:"n",12:"f",13:"r"}[t];return r?"\\"+r:"\\x"+(t<16?"0":"")+ER.call(t.toString(16))}function pa(e){return"Object("+e+")"}function bl(e){return e+" { ? }"}function M1(e,t,r,n){var i=n?Ru(r,n):cr.call(r,", ");return e+" ("+t+") {"+i+"}"}function UR(e){for(var t=0;t=0)return!1;return!0}function jR(e,t){var r;if(e.indent===" ")r=" ";else if(typeof e.indent=="number"&&e.indent>0)r=cr.call(Array(e.indent+1)," ");else return null;return{base:r,prev:cr.call(Array(t+1),r)}}function Ru(e,t){if(e.length===0)return"";var r=` `+t.prev+t.base;return r+cr.call(e,","+r)+` `+t.prev}function Ks(e,t){var r=Au(e),n=[];if(r){n.length=e.length;for(var i=0;i1;){var t=e.pop(),r=t.obj[t.prop];if(Fn(r)){for(var n=[],i=0;i=48&&l<=57||l>=65&&l<=90||l>=97&&l<=122||i===iO.RFC1738&&(l===40||l===41)){s+=a.charAt(o);continue}if(l<128){s=s+sr[l];continue}if(l<2048){s=s+(sr[192|l>>6]+sr[128|l&63]);continue}if(l<55296||l>=57344){s=s+(sr[224|l>>12]+sr[128|l>>6&63]+sr[128|l&63]);continue}o+=1,l=65536+((l&1023)<<10|a.charCodeAt(o)&1023),s+=sr[240|l>>18]+sr[128|l>>12&63]+sr[128|l>>6&63]+sr[128|l&63]}return s},cO=function(e){for(var t=[{obj:{o:e},prop:"o"}],r=[],n=0;n"u"&&(T=0)}if(typeof l=="function"?_=l(r,_):_ instanceof Date?_=d(_):n==="comma"&&Mr(_)&&(_=Ou.maybeMap(_,function(ge){return ge instanceof Date?d(ge):ge})),_===null){if(a)return o&&!v?o(r,ct.encoder,E,"key",p):r;_=""}if(bO(_)||Ou.isBuffer(_)){if(o){var B=v?r:o(r,ct.encoder,E,"key",p);if(n==="comma"&&v){for(var F=gO.call(String(_),","),P="",q=0;q"u")return re;var ie;if(n==="comma"&&Mr(_))ie=[{value:_.length>0?_.join(",")||null:void 0}];else if(Mr(l))ie=l;else{var j=Object.keys(_);ie=u?j.sort(u):j}for(var oe=i&&Mr(_)&&_.length===1?r+"[]":r,W=0;W"u"?ct.allowDots:!!e.allowDots,charset:t,charsetSentinel:typeof e.charsetSentinel=="boolean"?e.charsetSentinel:ct.charsetSentinel,delimiter:typeof e.delimiter>"u"?ct.delimiter:e.delimiter,encode:typeof e.encode=="boolean"?e.encode:ct.encode,encoder:typeof e.encoder=="function"?e.encoder:ct.encoder,encodeValuesOnly:typeof e.encodeValuesOnly=="boolean"?e.encodeValuesOnly:ct.encodeValuesOnly,filter:i,format:r,formatter:n,serializeDate:typeof e.serializeDate=="function"?e.serializeDate:ct.serializeDate,skipNulls:typeof e.skipNulls=="boolean"?e.skipNulls:ct.skipNulls,sort:typeof e.sort=="function"?e.sort:null,strictNullHandling:typeof e.strictNullHandling=="boolean"?e.strictNullHandling:ct.strictNullHandling}},SO=function(e,t){var r=e,n=wO(t),i,a;typeof n.filter=="function"?(a=n.filter,r=a("",r)):Mr(n.filter)&&(a=n.filter,i=a);var s=[];if(typeof r!="object"||r===null)return"";var o;t&&t.arrayFormat in N1?o=t.arrayFormat:t&&"indices"in t?o=t.indices?"indices":"repeat":o="indices";var l=N1[o];if(t&&"commaRoundTrip"in t&&typeof t.commaRoundTrip!="boolean")throw new TypeError("`commaRoundTrip` must be a boolean, or absent");var u=l==="comma"&&t&&t.commaRoundTrip;i||(i=Object.keys(r)),n.sort&&i.sort(n.sort);for(var c=X2(),d=0;d0?v+g:""},Ki=K2,Mu=Object.prototype.hasOwnProperty,EO=Array.isArray,lt={allowDots:!1,allowPrototypes:!1,allowSparse:!1,arrayLimit:20,charset:"utf-8",charsetSentinel:!1,comma:!1,decoder:Ki.decode,delimiter:"&",depth:5,ignoreQueryPrefix:!1,interpretNumericEntities:!1,parameterLimit:1e3,parseArrays:!0,plainObjects:!1,strictNullHandling:!1},xO=function(e){return e.replace(/&#(\d+);/g,function(t,r){return String.fromCharCode(parseInt(r,10))})},Z2=function(e,t){return e&&typeof e=="string"&&t.comma&&e.indexOf(",")>-1?e.split(","):e},TO="utf8=%26%2310003%3B",kO="utf8=%E2%9C%93",AO=function(e,t){var r={},n=t.ignoreQueryPrefix?e.replace(/^\?/,""):e,i=t.parameterLimit===1/0?void 0:t.parameterLimit,a=n.split(t.delimiter,i),s=-1,o,l=t.charset;if(t.charsetSentinel)for(o=0;o-1&&(g=EO(g)?[g]:g),Mu.call(r,p)?r[p]=Ki.combine(r[p],g):r[p]=g}return r},RO=function(e,t,r,n){for(var i=n?t:Z2(t,r),a=e.length-1;a>=0;--a){var s,o=e[a];if(o==="[]"&&r.parseArrays)s=[].concat(i);else{s=r.plainObjects?Object.create(null):{};var l=o.charAt(0)==="["&&o.charAt(o.length-1)==="]"?o.slice(1,-1):o,u=parseInt(l,10);!r.parseArrays&&l===""?s={0:i}:!isNaN(u)&&o!==l&&String(u)===l&&u>=0&&r.parseArrays&&u<=r.arrayLimit?(s=[],s[u]=i):l!=="__proto__"&&(s[l]=i)}i=s}return i},OO=function(e,t,r,n){if(e){var i=r.allowDots?e.replace(/\.([^.[]+)/g,"[$1]"):e,a=/(\[[^[\]]*])/,s=/(\[[^[\]]*])/g,o=r.depth>0&&a.exec(i),l=o?i.slice(0,o.index):i,u=[];if(l){if(!r.plainObjects&&Mu.call(Object.prototype,l)&&!r.allowPrototypes)return;u.push(l)}for(var c=0;r.depth>0&&(o=s.exec(i))!==null&&c"u"?lt.charset:e.charset;return{allowDots:typeof e.allowDots>"u"?lt.allowDots:!!e.allowDots,allowPrototypes:typeof e.allowPrototypes=="boolean"?e.allowPrototypes:lt.allowPrototypes,allowSparse:typeof e.allowSparse=="boolean"?e.allowSparse:lt.allowSparse,arrayLimit:typeof e.arrayLimit=="number"?e.arrayLimit:lt.arrayLimit,charset:t,charsetSentinel:typeof e.charsetSentinel=="boolean"?e.charsetSentinel:lt.charsetSentinel,comma:typeof e.comma=="boolean"?e.comma:lt.comma,decoder:typeof e.decoder=="function"?e.decoder:lt.decoder,delimiter:typeof e.delimiter=="string"||Ki.isRegExp(e.delimiter)?e.delimiter:lt.delimiter,depth:typeof e.depth=="number"||e.depth===!1?+e.depth:lt.depth,ignoreQueryPrefix:e.ignoreQueryPrefix===!0,interpretNumericEntities:typeof e.interpretNumericEntities=="boolean"?e.interpretNumericEntities:lt.interpretNumericEntities,parameterLimit:typeof e.parameterLimit=="number"?e.parameterLimit:lt.parameterLimit,parseArrays:e.parseArrays!==!1,plainObjects:typeof e.plainObjects=="boolean"?e.plainObjects:lt.plainObjects,strictNullHandling:typeof e.strictNullHandling=="boolean"?e.strictNullHandling:lt.strictNullHandling}},NO=function(e,t){var r=MO(t);if(e===""||e===null||typeof e>"u")return r.plainObjects?Object.create(null):{};for(var n=typeof e=="string"?AO(e,r):e,i=r.plainObjects?Object.create(null):{},a=Object.keys(n),s=0;s`${El(e)}=${Nu(r)}`).join("&"):`${El(e)}=${Nu(t)}`:El(e)}function rM(e){return Object.keys(e).filter(t=>e[t]!==void 0).map(t=>tM(t,e[t])).join("&")}const nM=/^\w+:(\/\/)?/,iM=/^\/\/[^/]+/;function t5(e,t=!1){return nM.test(e)||t&&iM.test(e)}const aM=/\/$|\/\?/;function Cu(e="",t=!1){return t?aM.test(e):e.endsWith("/")}function sM(e="",t=!1){if(!t)return(Cu(e)?e.slice(0,-1):e)||"/";if(!Cu(e,!0))return e||"/";const[r,...n]=e.split("?");return(r.slice(0,-1)||"/")+(n.length>0?`?${n.join("?")}`:"")}function oM(e="",t=!1){if(!t)return e.endsWith("/")?e:e+"/";if(Cu(e,!0))return e||"/";const[r,...n]=e.split("?");return r+"/"+(n.length>0?`?${n.join("?")}`:"")}function lM(e=""){return e.startsWith("/")}function uM(e=""){return(lM(e)?e.slice(1):e)||"/"}function cM(e,t){if(dM(t)||t5(e))return e;const r=sM(t);return e.startsWith(r)?e:pM(r,e)}function fM(e,t){const r=r5(e),n={...eM(r.search),...t};return r.search=rM(n),mM(r)}function dM(e){return!e||e==="/"}function hM(e){return e&&e!=="/"}function pM(e,...t){let r=e||"";for(const n of t.filter(i=>hM(i)))r=r?oM(r)+uM(n):n;return r}function r5(e="",t){if(!t5(e,!0))return t?r5(t+e):I1(e);const[r="",n,i=""]=(e.replace(/\\/g,"/").match(/([^/:]+:)?\/\/([^/@]+@)?(.*)/)||[]).splice(1),[a="",s=""]=(i.match(/([^#/?]*)(.*)?/)||[]).splice(1),{pathname:o,search:l,hash:u}=I1(s.replace(/\/(?=[A-Za-z]:)/,""));return{protocol:r,auth:n?n.slice(0,Math.max(0,n.length-1)):"",host:a,pathname:o,search:l,hash:u}}function I1(e=""){const[t="",r="",n=""]=(e.match(/([^#?]*)(\?[^#]*)?(#.*)?/)||[]).splice(1);return{pathname:t,search:r,hash:n}}function mM(e){const t=e.pathname+(e.search?(e.search.startsWith("?")?"":"?")+e.search:"")+e.hash;return e.protocol?e.protocol+"//"+(e.auth?e.auth+"@":"")+e.host+t:t}class gM extends Error{constructor(){super(...arguments),this.name="FetchError"}}function yM(e,t,r){let n="";e&&r&&(n=`${r.status} ${r.statusText} (${e.toString()})`),t&&(n=`${t.message} (${n})`);const i=new gM(n);return Object.defineProperty(i,"request",{get(){return e}}),Object.defineProperty(i,"response",{get(){return r}}),Object.defineProperty(i,"data",{get(){return r&&r._data}}),Object.defineProperty(i,"status",{get(){return r&&r.status}}),Object.defineProperty(i,"statusText",{get(){return r&&r.statusText}}),Object.defineProperty(i,"statusCode",{get(){return r&&r.status}}),Object.defineProperty(i,"statusMessage",{get(){return r&&r.statusText}}),i}const vM=new Set(Object.freeze(["PATCH","POST","PUT","DELETE"]));function D1(e="GET"){return vM.has(e.toUpperCase())}function bM(e){if(e===void 0)return!1;const t=typeof e;return t==="string"||t==="number"||t==="boolean"||t===null?!0:t!=="object"?!1:Array.isArray(e)?!0:e.constructor&&e.constructor.name==="Object"||typeof e.toJSON=="function"}const _M=new Set(["image/svg","application/xml","application/xhtml","application/html"]),wM=/^application\/(?:[\w!#$%&*.^`~-]*\+)?json(;.+)?$/i;function SM(e=""){if(!e)return"json";const t=e.split(";").shift();return wM.test(t)?"json":_M.has(t)||t.startsWith("text/")?"text":"blob"}const EM=new Set([408,409,425,429,500,502,503,504]);function n5(e){const{fetch:t,Headers:r}=e;function n(s){const o=s.error&&s.error.name==="AbortError"||!1;if(s.options.retry!==!1&&!o){const u=typeof s.options.retry=="number"?s.options.retry:D1(s.options.method)?0:1,c=s.response&&s.response.status||500;if(u>0&&EM.has(c))return i(s.request,{...s.options,retry:u-1})}const l=yM(s.request,s.error,s.response);throw Error.captureStackTrace&&Error.captureStackTrace(l,i),l}const i=async function(s,o={}){const l={request:s,options:{...e.defaults,...o},response:void 0,error:void 0};l.options.onRequest&&await l.options.onRequest(l),typeof l.request=="string"&&(l.options.baseURL&&(l.request=cM(l.request,l.options.baseURL)),(l.options.query||l.options.params)&&(l.request=fM(l.request,{...l.options.params,...l.options.query})),l.options.body&&D1(l.options.method)&&bM(l.options.body)&&(l.options.body=typeof l.options.body=="string"?l.options.body:JSON.stringify(l.options.body),l.options.headers=new r(l.options.headers),l.options.headers.has("content-type")||l.options.headers.set("content-type","application/json"),l.options.headers.has("accept")||l.options.headers.set("accept","application/json"))),l.response=await t(l.request,l.options).catch(async c=>(l.error=c,l.options.onRequestError&&await l.options.onRequestError(l),n(l)));const u=(l.options.parseResponse?"json":l.options.responseType)||SM(l.response.headers.get("content-type")||"");if(u==="json"){const c=await l.response.text(),d=l.options.parseResponse||FO;l.response._data=d(c)}else u==="stream"?l.response._data=l.response.body:l.response._data=await l.response[u]();return l.options.onResponse&&await l.options.onResponse(l),l.response.status>=400&&l.response.status<600?(l.options.onResponseError&&await l.options.onResponseError(l),n(l)):l.response},a=function(s,o){return i(s,o).then(l=>l._data)};return a.raw=i,a.native=t,a.create=(s={})=>n5({...e,defaults:{...e.defaults,...s}}),a}const i5=function(){if(typeof globalThis<"u")return globalThis;if(typeof self<"u")return self;if(typeof window<"u")return window;if(typeof global<"u")return global;throw new Error("unable to locate global object")}(),xM=i5.fetch||(()=>Promise.reject(new Error("[ofetch] global.fetch is not supported!"))),TM=i5.Headers,kM=n5({fetch:xM,Headers:TM}),AM=()=>async(e,t={})=>{const r={...t.headers||{}};return t.params&&(e=`${e}${e.includes("?")?"&":"?"}${BO.stringify(t.params)}`,delete t.params),await kM(e,{responseType:"json",retry:0,...t,headers:r}).catch(n=>{var i;throw((i=n==null?void 0:n.data)==null?void 0:i.errors)||n})};class ma{constructor(t){Vs(this,"path"),Vs(this,"baseURL"),Vs(this,"headers"),Vs(this,"params"),this.path=t.path,this.baseURL=t.baseURL||"",this.headers=t.headers||{},this.params={}}filter(t){return this.params.filter={...this.params.filter,...t},this}page(t){return this.params.page={...this.params.page,...t},this}include(t){return this.params.include=Array.isArray(t)?t.join(","):t,this}fields(t,r=[]){return this.params.fields=this.params.fields||{},this.params.fields[t]=r.join(","),this}sort(t){return this.params.sort=t,this}query(t,r){return this.params[t]=r,this}async fetch(){const t=AM(),r={params:this.params,baseURL:this.baseURL,headers:this.headers};let n;try{n=await t(this.path,r)}catch(i){Array.isArray(i)?i.map(a=>console.error("QueryBuilderError:",`${a.title} - ${a.detail} - ${this.path}`)):console.error("QueryBuilderError:",`${i}`,`${this.path}`),n=null}return n}}var RM=typeof global=="object"&&global&&global.Object===Object&&global;const a5=RM;var OM=typeof self=="object"&&self&&self.Object===Object&&self,MM=a5||OM||Function("return this")();const Hr=MM;var NM=Hr.Symbol;const Tn=NM;var s5=Object.prototype,CM=s5.hasOwnProperty,IM=s5.toString,ga=Tn?Tn.toStringTag:void 0;function DM(e){var t=CM.call(e,ga),r=e[ga];try{e[ga]=void 0;var n=!0}catch{}var i=IM.call(e);return n&&(t?e[ga]=r:delete e[ga]),i}var BM=Object.prototype,PM=BM.toString;function LM(e){return PM.call(e)}var zM="[object Null]",$M="[object Undefined]",B1=Tn?Tn.toStringTag:void 0;function oa(e){return e==null?e===void 0?$M:zM:B1&&B1 in Object(e)?DM(e):LM(e)}function Xi(e){return e!=null&&typeof e=="object"}var FM="[object Symbol]";function wf(e){return typeof e=="symbol"||Xi(e)&&oa(e)==FM}function o5(e,t){for(var r=-1,n=e==null?0:e.length,i=Array(n);++r-1&&e%1==0&&e-1&&e%1==0&&e<=cN}function S0(e){return e!=null&&Sf(e.length)&&!u5(e)}var fN=Object.prototype;function d5(e){var t=e&&e.constructor,r=typeof t=="function"&&t.prototype||fN;return e===r}function dN(e,t){for(var r=-1,n=Array(e);++r-1}function xC(e,t){var r=this.__data__,n=E0(r,e);return n<0?(++this.size,r.push([e,t])):r[n][1]=t,this}function Ur(e){var t=-1,r=e==null?0:e.length;for(this.clear();++ti?0:i+t),r=r>i?i:r,r<0&&(r+=i),i=t>r?0:r-t>>>0,t>>>=0;for(var a=Array(i);++n=n?e:UC(e,t,r)}var qC="\\ud800-\\udfff",GC="\\u0300-\\u036f",YC="\\ufe20-\\ufe2f",WC="\\u20d0-\\u20ff",VC=GC+YC+WC,KC="\\ufe0e\\ufe0f",XC="\\u200d",JC=RegExp("["+XC+qC+VC+KC+"]");function b5(e){return JC.test(e)}function ZC(e){return e.split("")}var _5="\\ud800-\\udfff",QC="\\u0300-\\u036f",eI="\\ufe20-\\ufe2f",tI="\\u20d0-\\u20ff",rI=QC+eI+tI,nI="\\ufe0e\\ufe0f",iI="["+_5+"]",Du="["+rI+"]",Bu="\\ud83c[\\udffb-\\udfff]",aI="(?:"+Du+"|"+Bu+")",w5="[^"+_5+"]",S5="(?:\\ud83c[\\udde6-\\uddff]){2}",E5="[\\ud800-\\udbff][\\udc00-\\udfff]",sI="\\u200d",x5=aI+"?",T5="["+nI+"]?",oI="(?:"+sI+"(?:"+[w5,S5,E5].join("|")+")"+T5+x5+")*",lI=T5+x5+oI,uI="(?:"+[w5+Du+"?",Du,S5,E5,iI].join("|")+")",cI=RegExp(Bu+"(?="+Bu+")|"+uI+lI,"g");function fI(e){return e.match(cI)||[]}function dI(e){return b5(e)?fI(e):ZC(e)}function hI(e){return function(t){t=bs(t);var r=b5(t)?dI(t):void 0,n=r?r[0]:t.charAt(0),i=r?jC(r,1).join(""):t.slice(1);return n[e]()+i}}var pI=hI("toUpperCase");const mI=pI;function gI(e){return mI(bs(e).toLowerCase())}function yI(e,t,r,n){var i=-1,a=e==null?0:e.length;for(n&&a&&(r=e[++i]);++io))return!1;var u=a.get(e),c=a.get(t);if(u&&c)return u==t&&c==e;var d=-1,p=!0,g=r&LD?new Po:void 0;for(a.set(e,t),a.set(t,e);++d{const i=Qn(String(n[0]));return r[i]=t?_s(n[1]):n[1],r},{}):e}function sp(e){let t;Array.isArray(e.data)?t=e.data:t=[e.data];const r=e.included||[],n=[],i={};return t.forEach(a=>{PB(n,a),op(i,a)}),r.forEach(a=>{op(i,a)}),{result:n,resources:i}}function PB(e,t){const{type:r,id:n}=t;e.push({type:r,id:n})}function op(e,t){const{type:r,id:n,attributes:i,meta:a,links:s,relationships:o}=t,l=Qn(r);return e[l]||(e[l]={}),e[l][n]={id:n,type:r,attributes:_s(i||{}),relationships:LB(o)||{},meta:a,links:s},e}function LB(e){if(!e)return;const t={};return Object.keys(e).map(r=>{const n=Qn(r);t[n]=e[r]}),t}const zB=10;function $B(e,t,r,n){return e.map(i=>U5(i,t,r,n)).filter(i=>!!i)}function U5(e,t,r,n){return Fu(e,t,r,n)}function FB(e,t,r=0,n){return e.map(i=>j5(i,t,r,n))}function j5(e,t,r=0,n){const i=t[Qn(e.type)][e.id];if(typeof r=="number"?r++:r=1,r>zB)return{...i};let a={type:i.type,meta:i.meta,id:i.id,..._s(i.attributes)};return i.relationships&&(a=Object.keys(i.relationships).reduce((s,o)=>{const l=i.relationships[o].data;let u;return BB(l)||(u=Array.isArray(l)?$B(l,t,r,n):U5(l,t,r,n)),{...s,[Qn(o)]:u??l}},a)),n&&(a={...a,...n(a)}),a}function Fu(e,t,r=0,n){return Array.isArray(e)?FB(e,t,r,n):j5(e,t,r,n)}function k0(e,t){const r=Array.isArray(e)?MB(e,t):[];return[...new Set(r)]}function HB(e,t="default"){return Array.isArray(e.blocks)?e.blocks.filter(r=>r.editorName===t).sort((r,n)=>r.position-n.position):[]}function UB(e){if(!e.blocks)return{};const t={};return Array.isArray(e.blocks)&&k0(e.blocks,"editorName").map(r=>{t[Qn(r)]=HB(e,r)}),t}function jB(e,t){var r;const n=((r=e.meta)==null?void 0:r.browsers)||null;return e.relatedItems.filter(i=>i.browserName===t).sort((i,a)=>i.position-a.position).map(i=>i.related).filter(i=>i?i.type!=="blocks"?!0:n!==null&&n[t]&&n[t].includes(parseInt(i.id)):null)}function qB(e){if(!e.relatedItems)return{};const t={};return Array.isArray(e==null?void 0:e.relatedItems)&&k0(e.relatedItems,"browserName").map(r=>{t[Qn(r)]=jB(e,r)}),t}function GB(e,t){const r={};return Array.isArray(e.files)&&e.files.filter(n=>n.meta.role===t).map(n=>{r[n.meta.uuid]=n}),Object.values(r)}function YB(e){if(!e.files)return{};const t=Array.isArray(e.files)?k0(e.files,"meta.role"):[],r={};return t.map(n=>{r[n]=GB(e,n)}),_s(r)}function WB(e){if(!e.media)return{};const t=Array.isArray(e.media)?k0(e.media,"meta.role"):[],r={};return t.map(n=>{r[n]=VB(e,n)}),_s(r)}function VB(e,t){if(!e.media)return[];const r={};return e.media.filter(n=>n.meta.role===t).map(n=>{r[n.meta.uuid]||(r[n.meta.uuid]={}),r[n.meta.uuid][n.meta.crop]=n}),Object.values(r)}const lp=e=>{const t={};return Array.isArray(e.blocks)&&(t.blocks=UB(e)),Array.isArray(e.media)&&(t.media=WB(e)),Array.isArray(e.relatedItems)&&(t.relatedItems=qB(e)),Array.isArray(e.files)&&(t.files=YB(e)),t},KB=e=>{const{url:t,prefix:r,version:n,token:i}=e,a=`${t}${r}/${n}`,s={Accept:"application/vnd.api+json"};return i&&(s.Authorization=`Bearer ${i}`),{get:o=>new ma({path:o,headers:s}),find:o=>new ma({path:o,baseURL:a,headers:s}),findOne:(o,l)=>new ma({path:`${o}/${l}`,baseURL:a,headers:s}),findRelated:(o,l)=>{var u,c;const d=(c=(u=l.relationships[o])==null?void 0:u.links)==null?void 0:c.related;return d?new ma({path:d,headers:s}):null},findRelationship:(o,l)=>{var u,c;const d=(c=(u=l.relationships[o])==null?void 0:u.links)==null?void 0:c.self;return d?new ma({path:d,headers:s}):null},normalize:sp,deserialize:Fu,extract:lp,transform:o=>{const l=sp(o);return Fu(l.result,l.resources,0,lp)}}},XB=At(e=>{const t=e.$config,r=ag(t);return{provide:{twill:KB(r)}}}),JB=[xy,s8,Nv,Cv,jv,qv,Gv,hb,nE,iE,ux,fx,dx,$A,XB],ZB=(e,t)=>t.path.replace(/(:\w+)\([^)]+\)/g,"$1").replace(/(:\w+)[?+*]/g,"$1").replace(/:\w+/g,r=>{var n;return((n=e.params[r.slice(1)])==null?void 0:n.toString())||""}),QB=(e,t)=>{const r=e.route.matched.find(i=>{var a;return((a=i.components)==null?void 0:a.default)===e.Component.type}),n=t??(r==null?void 0:r.meta.key)??(r&&ZB(e.route,r));return typeof n=="function"?n(e.route):n},eP=(e,t)=>({default:()=>e?tr(l6,e===!0?{}:e,t):t}),tP=kn({name:"FragmentWrapper",setup(e,{slots:t}){return()=>{var r;return(r=t.default)==null?void 0:r.call(t)}}}),Hu=(e,t,r)=>({default:()=>t?tr(e,t===!0?{}:t,r):tr(tP,{},r)}),rP=kn({name:"NuxtPage",inheritAttrs:!1,props:{name:{type:String},transition:{type:[Boolean,Object],default:void 0},keepalive:{type:[Boolean,Object],default:void 0},route:{type:Object},pageKey:{type:[Function,String],default:null}},setup(e,{attrs:t}){const r=Oe();return()=>tr(Km,{name:e.name,route:e.route,...t},{default:n=>{if(!n.Component)return;const i=QB(n,e.pageKey),a=r.deferHydration(),s=!!(e.transition??n.route.meta.pageTransition??Gl),o=s&&iP([e.transition,n.route.meta.pageTransition,Gl,{onAfterLeave:()=>{r.callHook("page:transition:finish",n.Component)}}].filter(Boolean));return Hu(Zo,s&&o,eP(e.keepalive??n.route.meta.keepalive??i8,tr(Fp,{onPending:()=>r.callHook("page:start",n.Component),onResolve:()=>{mr(()=>r.callHook("page:finish",n.Component).finally(a))}},{default:()=>tr(aP,{key:i,routeProps:n,pageKey:i,hasTransition:s})}))).default()}})}});function nP(e){return Array.isArray(e)?e:e?[e]:[]}function iP(e){const t=e.map(r=>({...r,onAfterLeave:nP(r.onAfterLeave)}));return gc(...t)}const aP=kn({name:"RouteProvider",props:["routeProps","pageKey","hasTransition"],setup(e){const t=e.pageKey,r=e.routeProps.route,n={};for(const i in e.routeProps.route)n[i]=xt(()=>t===e.pageKey?e.routeProps.route[i]:r[i]);return Ti("_route",pr(n)),()=>tr(e.routeProps.Component)}}),sP=kn({name:"LayoutLoader",inheritAttrs:!1,props:{name:String},async setup(e,t){const r=await mi[e.name]().then(n=>n.default||n);return()=>tr(r,t.attrs,t.slots)}}),oP=kn({name:"NuxtLayout",inheritAttrs:!1,props:{name:{type:[String,Boolean,Object],default:null}},setup(e,t){const r=Lt("_route"),n=r===Zm()?uv():r,i=xt(()=>dt(e.name)??n.meta.layout??"default");return()=>{const a=i.value&&i.value in mi,s=n.meta.layoutTransition??n8;return Hu(Zo,a&&s,{default:()=>Hu(sP,a&&{key:i.value,name:i.value,...t.attrs},t.slots).default()}).default()}}}),lP=(e,t)=>{const r=e.__vccOpts||e;for(const[n,i]of t)r[n]=i;return r},uP={},cP=Xo("div",{class:"fixed inset-0","aria-hidden":"true","data-document-bg":""},null,-1),fP={class:"relative bg-[color:var(--gray-000)]"};function dP(e,t){const r=rP,n=oP;return sn(),I6(Et,null,[cP,Xo("div",fP,[Ye(n,{name:"app"},{default:tc(()=>[Ye(r)]),_:1})])],64)}const hP=lP(uP,[["render",dP]]),up={__name:"nuxt-root",setup(e){const t=s6(()=>rt(()=>import("./error-component.55e7e07c.js"),["./error-component.55e7e07c.js","./Footer.c9880efc.js","./usePageTransition.a604dd65.js","./Footer.0de83f90.css","./useAsyncNavigationData.10beaa25.js","./lang.4a9029fb.js"],import.meta.url).then(o=>o.default||o)),r=()=>null,n=Oe(),i=n.deferHydration();Ti("_route",Zm()),n.hooks.callHookWith(o=>o.map(l=>l()),"vue:setup");const a=t0();Jp((o,l,u)=>{n.hooks.callHook("vue:error",o,l,u).catch(c=>console.error("[nuxt] Error in `vue:error` hook",c)),hv(o)&&(o.fatal||o.unhandled)&&Ar(n,pi,[o])});const{islandContext:s}=!1;return(o,l)=>(sn(),hi(Fp,{onResolve:dt(i)},{default:tc(()=>[dt(a)?(sn(),hi(dt(t),{key:0,error:dt(a)},null,8,["error"])):dt(s)?(sn(),hi(dt(r),{key:1,context:dt(s)},null,8,["context"])):(sn(),hi(dt(hP),{key:2}))]),_:1},8,["onResolve"]))}};globalThis.$fetch||(globalThis.$fetch=oy.create({baseURL:uy()}));let cp;const pP=Ey(JB);cp=async function(){var i;const r=Boolean((i=window.__NUXT__)==null?void 0:i.serverRendered)?w7(up):_7(up),n=_y({vueApp:r});try{await Sy(n,pP)}catch(a){await n.callHook("app:error",a),n.payload.error=n.payload.error||a}try{await n.hooks.callHook("app:created",r),await n.hooks.callHook("app:beforeMount",r),r.mount("#"+a8),await n.hooks.callHook("app:mounted",r),await mr()}catch(a){await n.callHook("app:error",a),n.payload.error=n.payload.error||a}},cp().catch(e=>{console.error("Error while mounting app:",e)});export{v_ as $,pi as A,uu as B,Xp as C,MP as D,Lo as E,Et as F,WS as G,VS as H,BP as I,O_ as J,pv as K,l0 as L,d_ as M,fw as N,tw as O,lg as P,dw as Q,Ka as R,Z_ as S,KS as T,yw as U,s6 as V,rt as W,xP as X,b_ as Y,S_ as Z,lP as _,Ye as a,Jm as a0,sg as a1,og as a2,bP as a3,RP as a4,st as a5,CP as a6,kn as a7,NP as a8,mr as a9,OP as aa,Ap as ab,fs as ac,Kn as ad,tr as ae,_P as af,wo as ag,An as ah,c6 as ai,yP as aj,vP as ak,De as al,kP as am,mw as an,DP as ao,Xo as b,I6 as c,hm as d,Zm as e,Oe as f,hi as g,tc as h,TP as i,ac as j,B6 as k,zo as l,EP as m,mP as n,sn as o,xt as p,Si as q,wP as r,Vo as s,gP as t,dt as u,SP as v,AP as w,gv as x,ki as y,P6 as z};